Esempio n. 1
0
 public void TakeDamage(float damage)
 {
     healthBehaviour.playerStats.health -= damage;
     if (healthBehaviour.playerStats.health <= 0)
     {
         healthBehaviour.PlayerDead();
     }
 }