void showEndGameUI() { Hero hero = GameObject.Find("Hero").GetComponent <Hero> (); hero.IsPlaying = false; EndGameUI.Show(true); }
void showGameOver() { EndGameUI.Show(false); }
public void EndGame(float timeSurvived, int round, int killCount) { inGameUI.Visible = false; endGameUI.Show(round, killCount, timeSurvived); }