public void StartGame() { if (Input.GetMouseButtonDown(0)) { GoToRunning(); uiHolder.ActivateGameStartPanel(false); uiHolder.ActivateMainPanel(true); } }
private void StartGameWithClick() { if (Input.GetMouseButtonDown(0)) { GotoRunning(); uiHolder.ActivateMainPanel(true); uiHolder.ActivateGameStartPanel(false); PlayAudio("background"); // do more staff to start the game } }