public void StartButtonClicked() { SoundManager.instance.PlaySingle(clickSound); SceneManager.LoadScene(1); showPanels.HideMenuPanel(); showPanels.HideBG(); inMainMenu = false; }
/// <summary> /// start button clicked -> load scene /// </summary> public void StartButtonClicked() { showPanels.HideMenuPanel(); showPanels.ToggleBackground(false); music.StopPlayMusic(); LoadGame(); // show buttons on game UI showPanels.ShowGameButtons(); }