public void checkIfDead() //checks if enemy is dead { if (curHP <= 0) { curHP = 0; enemyInfo.RemoveEnemy(); Application.LoadLevel("Example"); } }
public void checkIfDead() //checks if enemy is dead { if (curHP <= 0) { curHP = 0; enemyInfo.RemoveEnemy(); Application.LoadLevel("Example"); } }