Exemplo n.º 1
0
 public void Die()
 {
     Invoke("HCDeathAnimDueToFireDamageBug", 0.05f);
     gm.DeathCount++;
     gm.SetDeathText();
     agent.destination = transform.position;
     DeathScreen.FadeToDeath();
     DeathSound.PlayDelayed(1);
     DeathSoundLaugh.PlayDelayed(3);
 }