Camera.main will only return the *first* camera found called "MainCamera". If you have two Third Person Control scripts running, and two GameObjects tagged as MainCamera, then one of the scripts will find the *other* object and not the camera it's attached to. You should probably augment the script so that you can assign the camera that you want it to control, i.e. make a public Camera field and drag the Camera to it in the inspector.
↧