Start on building out final scene
This commit is contained in:
@@ -14,7 +14,11 @@ public class PauseController : MonoBehaviour
|
||||
public void GoBackToMenu(int intended)
|
||||
{
|
||||
TogglePause(false);
|
||||
GlobalStateManager.Instance.MenuIntended = intended;
|
||||
if (GlobalStateManager.Instance != null)
|
||||
{
|
||||
GlobalStateManager.Instance.MenuIntended = intended;
|
||||
}
|
||||
|
||||
|
||||
SceneManager.LoadScene(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user