Exemple #1
0
    void showEndGameUI()
    {
        Hero hero = GameObject.Find("Hero").GetComponent <Hero> ();

        hero.IsPlaying = false;
        EndGameUI.Show(true);
    }
Exemple #2
0
 void showGameOver()
 {
     EndGameUI.Show(false);
 }
 public void EndGame(float timeSurvived, int round, int killCount)
 {
     inGameUI.Visible = false;
     endGameUI.Show(round, killCount, timeSurvived);
 }