I have a camera script that I’ve attached to my main camera and a player script that is trying to get hold of that camera script.
From what I’ve read here and there, this should work :
Cam = Camera.main.gameObject.GetComponent<SC_Camera>();
Except this returns null and yes the main camera does have the SC_Camera script.
Any ideas? :-S