//NewBehaviourScript maincam; // Use this for initialization void Start() { //maincam = GameObject.Find ("camera").GetComponent<NewBehaviourScript> (); wincam = GameObject.Find ("UI Camera").GetComponent<Camera>(); cursor=GameObject.Find("Cursor"); rotScript = Camera.main.gameObject.GetComponent<SmoothFollowCSharp> (); }
//NewBehaviourScript maincam; // Use this for initialization void Start() { //maincam = GameObject.Find ("camera").GetComponent<NewBehaviourScript> (); wincam = GameObject.Find("UI Camera").GetComponent <Camera>(); cursor = GameObject.Find("Cursor"); rotScript = Camera.main.gameObject.GetComponent <SmoothFollowCSharp> (); }