public void StartNewGame(object property) { if (Btn_Start_Game != "Start Game!") { StopGame(); } gh.StartNewGame(); }
void OnStartButtonClicked() { gamehandler.StartNewGame(); menuPanel.gameObject.SetActive(false); startButton.gameObject.SetActive(false); restartButton.gameObject.SetActive(true); resumeButton.gameObject.SetActive(true); upPanel.SetActive(true); }