Exemplo n.º 1
0
 private IEnumerator CheckNumberEnemies()
 {
     while (true)
     {
         if (IsPlayerMoving == false)
         {
             ShootS();
         }
         yield return(new WaitForSeconds(_arenaManager.GetShootDelay()));
     }
 }