Exemplo n.º 1
0
 private void DecreaseHealth(HealthBehaviour hb)
 {
     if (hb.Health > 0)
     {
         hb.CharacterTakeDamage(_attackDamage);
         hb.ChangeHealth(hb.Health);
     }
 }