Exemplo n.º 1
0
 void ChangeHand(int index)
 {
     if (index > hands.Count)
     {
         Debug.LogError("There's no hand" + index);
     }
     activeHand.setAsInactive();
     activeHand = hands[index];
     activeHand.setAsActive();
 }
Exemplo n.º 2
0
 public override void StartFight()
 {
     life = lives;
     SimplePool.Preload(eyeProjectile, 10);
     eyes       = new List <TorsoBossEye>();
     activeHand = hands[0];
     foreach (var hand in hands)
     {
         eyes.Add(hand.eye);
     }
     activeHand.setAsActive();
     StartCoroutine(EmergeAnimation());
 }