void Start()
 {
     TT1   = GameObject.Find("TT1");
     TT2   = GameObject.Find("TT2");
     anim1 = TT1.GetComponent <Animator>();
     anim2 = TT2.GetComponent <Animator>();
 }
Exemple #2
0
 void Start()
 {
     anim1 = TT1.GetComponent <Animator>();
     anim2 = TT2.GetComponent <Animator>();
     rb1   = TT1.GetComponent <Rigidbody2D>();
     rb2   = TT2.GetComponent <Rigidbody2D>();
 }
 void Start()
 {
     anim1  = TT1.GetComponent <Animator>();
     anim2  = TT2.GetComponent <Animator>();
     anim   = gameObject.GetComponent <Animator>();
     isDead = 0;
 }