using the following code (http://wiki.unity3d.com/index.php?title=MouseOrbitImproved) I want to be able to move the rotation of the camera only if you hold down the right mouse button.
If the right mouse button is pressed, I would like the camera to continue to follow the target.
What would I change?
I do not know where I have to insert the if statement for control the mouse button.
↧