Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        anim = GetComponent<Animator>();
        pWillCtrl = GameObject.FindWithTag("Player").GetComponent<PlayerWillController>();

        animated = this.transform.parent.gameObject;
        pLook = animated.GetComponent<PlayerLook>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     pWill = GameObject.FindWithTag("Player").GetComponent<PlayerWillController>();
 }