Example #1
0
 internal void Damage(float amount)
 {
     health -= amount;
     if (health <= 0)
     {
         damageSystem.StartGameOver();
     }
 }