示例#1
0
 public void Damage(float dmg)
 {
     health -= dmg;
     if (health <= 0)
     {
         dead = true;
         enemyMovementController.StopME();
         Invoke(MyConst.Cooldown, 1);
     }
 }