Example #1
0
 void TakeDamage(int damage)
 {
     current_health -= damage;
     healthbar.SetHealthUI(current_health);
 }