/// <summary> /// Going to game!! /// </summary> public void NewGame() { PMR_SceneManager.LoadScene(PMR_SceneSetup.SCENES.GAME, 1f, PMR_EventSetup.Game.GO_TO_GAME); }
/// <summary> /// Go back to the menu /// </summary> public void GoBackToMenu() { PMR_SceneManager.LoadScene(PMR_SceneSetup.SCENES.MAIN_MENU, 1f, PMR_EventSetup.Game.GO_TO_MENU); }
public void GoBackToMenu() { m_ingame = false; PMR_EventManager.TriggerEvent(PMR_EventSetup.Game.GO_TO_MENU); PMR_SceneManager.LoadScene(PMR_SceneSetup.SCENES.MAIN_MENU, 1f, PMR_EventSetup.Menu.INIT); }