//Action 3 - Desperation Attack private IEnumerator attackDesperation() { move.SetIsMoving(false); eyes.chargeEye(false); eyes.chargeMiniEyes(); ShowDesperationFilter(true); yield return(new WaitForSeconds(chargeTime)); eyes.openEye(true); eyes.openMiniEyes(true); for (int i = 0; i < desperationAmount; i++) { Shoot(); eyes.shootMiniEyes(); yield return(new WaitForSeconds(desperationFrequency)); } controller.DefaultState(); }
private void SetPhase_1() { move.Speed *= 2; eyes.openMiniEyes(true); }