Exemple #1
0
 // Start is called before the first frame update
 public void TakeDamage(int damage)
 {
     if (!Invincible)
     {
         currentHealth -= damage;
         flasher.StartFlash();
     }
 }