Exemple #1
0
 void Start()
 {
     cur = GameObject.Find("Cursor").GetComponent <CursorScr>();
 }
Exemple #2
0
 void Start()
 {
     cur    = GameObject.Find("Cursor").GetComponent <CursorScr>();
     myBody = GetComponent <Rigidbody2D> ();
 }