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..."); } } }
public float GetStatus() { return(self.GetHP()); }