Beispiel #1
0
 void ShowGameOverScreen(GameOverType type)
 {
     IsAlive = false;
     GameOverScreen.gameObject.SetActive(true);
     GameOverScreen.GetComponent <Animator>().SetTrigger("Appear");
     GameOverScreen.SetSprite(type);
     timer.Stop();
 }