Esempio n. 1
0
 // Awake
 void Awake()
 {
     anim       = transform.root.gameObject.GetComponent <Animator>();
     playerCtrl = transform.root.GetComponent <TwoDPlayerControl>();
 }
Esempio n. 2
0
 // Awake
 void Awake()
 {
     anim = transform.root.gameObject.GetComponent<Animator>();
     playerCtrl = transform.root.GetComponent<TwoDPlayerControl>();
 }