public IEnumerator OthersMaker() { for (int i = 0; i < 6; i++) { EnemyEasyMode.targetCheck = true; ME.Make_Super_Sonic(); EEM.Invoke("ChangeTargetCheck", 0.0001f); yield return(new WaitForSeconds(0.38f)); } }
public IEnumerator Beep1Maker() { for (int i = 0; i < 6; i++) { EnemyEasyMode.targetCheck = true; ME.Make_Super_Sonic(); EEM.Invoke("ChangeTargetCheck", 0.0001f); if (i.Equals(0) || i.Equals(1) || i.Equals(2)) { yield return(new WaitForSeconds(0.15f)); } else if (i.Equals(3)) { yield return(new WaitForSeconds(0.3f)); } else { yield return(new WaitForSeconds(0.1f)); } } }