Compare commits
2 commits
d909230e6c
...
d4a9fe0ae5
Author | SHA1 | Date | |
---|---|---|---|
Mark Joshwel | d4a9fe0ae5 | ||
Mark Joshwel | d8956596ef |
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* author: mark joshwel
|
* author: mark joshwel
|
||||||
* date: 29/5/2024
|
* date: 11/8/2024
|
||||||
* description: game manager singleton for a single source of truth state management
|
* description: game manager singleton for a single source of truth state management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -20,10 +20,9 @@ public enum DisplayState
|
||||||
Game,
|
Game,
|
||||||
ScreenMainMenu,
|
ScreenMainMenu,
|
||||||
ScreenOptionsMenu,
|
ScreenOptionsMenu,
|
||||||
ScreenCreditsMenu,
|
OverlayPauseMenu,
|
||||||
ScreenPauseMenu,
|
OverlayCompleteUnderTimeMenu,
|
||||||
ScreenCaughtMenu,
|
OverlayFailedOverTimeMenu,
|
||||||
ScreenEscapedMenu,
|
|
||||||
UnassociatedState
|
UnassociatedState
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,9 +213,6 @@ public void SetDisplayState(DisplayState displayState)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.Log($"GameManager.SetDisplayState({displayState}): pre-pause helper");
|
Debug.Log($"GameManager.SetDisplayState({displayState}): pre-pause helper");
|
||||||
// if we're transitioning to the main menu, load the main menu scene
|
|
||||||
if (transitioning && displayState == DisplayState.ScreenMainMenu)
|
|
||||||
SceneManager.LoadScene("S2 World");
|
|
||||||
PauseGameHelper(displayState);
|
PauseGameHelper(displayState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 41be94ffee1b24a4fb8e45242c216745
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: cf6cc1506a223e64fbc912cfcbf521fb
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Reference in a new issue