transform to face fps camera?


I have an FPS controller, I'm instancing many planes (i have to rotate them to be vertical) and want them to always face the camera how can i do this by a script?


Why not use a billboard-shader for the planes?

(Take a look at the shaders for particles. Some of them are using this effect.)

Use the LookAt function, a method of transform.