Ejemplo n.º 1
0
    private bool everyOtherUpdate = true; //part of updating every other frame for lighter load and less flashing

    void Start()
    {
        tCtrl = this.GetComponent <tController>();
        p1    = GameObject.Find("p1");
        p2    = GameObject.Find("p2");
        p3    = GameObject.Find("p3");
        p4    = GameObject.Find("p4");
    }
Ejemplo n.º 2
0
 void Start()
 {
     anim = this.transform.parent.GetComponentInChildren <Animator>();
     tCon = this.transform.parent.GetComponentInChildren <tController>();
 }