Beispiel #1
0
 public override void enemyHit(float damage)
 {
     health -= damage;
     if (health <= 0)
     {
         bossExit.activateTile = true;
         bossExit.UpdateTile();
         Destroy(gameObject);
     }
 }