Example #1
0
 private void CheckShooterEnemies()
 {
     for (int i = 0; i < shooterEnemies.Count; i++)
     {
         ShooterEnemy current = shooterEnemies[i].GetComponent <ShooterEnemy>();
         if (current.GetHP() <= 0)
         {
             shooterEnemies.Remove(shooterEnemies[i]);
             //Debug.Log("An enemy has died, removing from list...");
         }
     }
 }
Example #2
0
 public float GetStatus()
 {
     return(self.GetHP());
 }