Exemplo n.º 1
0
 void waitForPhoneAnimationAndFire(PhonePower power, bool alreadyAnimated = false)
 {
     curState = PlayerState.PhoneAttack;
     curPower = power;
     if (!alreadyAnimated)
     {
         PhoneAttackAnimation();
     }
     StartCoroutine(waitForPhoneAnimationtoEnd());
 }
Exemplo n.º 2
0
 void waitForPhoneAnimationAndFire(PhonePower power, bool alreadyAnimated = false)
 {
     curState = PlayerState.PhoneAttack;
     curPower = power;
     if (!alreadyAnimated) {
         PhoneAttackAnimation();
     }
     StartCoroutine(waitForPhoneAnimationtoEnd());
 }