I'm trying to create an editor script that can change the scene camera's position. In an OnSceneGUI call I do this :
When I do this, in the log i see this :
however, this does not happen in the next frame, and the log in the next frame shows the exact same log lines (take camera position from X to 0). So it seems like this is getting overwritten somewhere along the line.
Is it possible to do something like this?
asked Oct 14 '10 at 02:02 PM
The scene camera is read-only as far as I know.
answered Oct 14 '10 at 02:27 PM