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