public void ExitToMenu() { DebugScript.UnPause(); var sceneManager = new GameObject(); var manager = sceneManager.AddComponent <MySceneManager>(); manager.LoadSceneByNumber(1); }
public void ContinueGame() { DebugScript.UnPause(); }