예제 #1
0
 //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> ();
 }
예제 #2
0
 //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> ();
 }