Esempio n. 1
0
 void Start()
 {
     status = GetComponent<CharStatus> ();
     jump = GetComponent<CharJump> ();
     rigidBody2D = GetComponent<Rigidbody2D> ();
     input = GameObject.Find ("InputManager").GetComponent<InputManager> ();
 }
Esempio n. 2
0
 void Start()
 {
     jump = GameObject.Find ("Char").GetComponent<CharJump> ();
 }