void ChangeHand(int index) { if (index > hands.Count) { Debug.LogError("There's no hand" + index); } activeHand.setAsInactive(); activeHand = hands[index]; activeHand.setAsActive(); }
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()); }