Beispiel #1
0
 private void Death()
 {
     Debug.Log("morreu morrido");
     //playerMovement.Defeated();
     gameUIManager.Defeat();
     anim.SetTrigger(deadIndex);
     //StartCoroutine(Defeat());
 }
Beispiel #2
0
 public void Defeat()
 {
     defeated = true;
     gameUIManager.Defeat();
 }