// Use this for initialization
 void Awake()
 {
     animator   = GetComponent <Animator> ();
     inputState = GetComponent <InputStateWithMove> ();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     body2d     = GetComponent <Rigidbody2D> ();
     inputState = GetComponent <InputStateWithMove> ();
 }