Пример #1
0
 public void checkIfDead()     //checks if enemy is dead
 {
     if (curHP <= 0)
     {
         curHP = 0;
         enemyInfo.RemoveEnemy();
         Application.LoadLevel("Example");
     }
 }