◆ Awake()
| void IuvoUnity.Constants.IuvoGame.Awake |
( |
| ) |
|
41 {
42
43 DontDestroyOnLoad(this.gameObject);
44 if (systemsStateMachine != null)
45 {
46 if (systemsStateMachine.defaultState != null)
47 {
48 systemsStateMachine.currentState = systemsStateMachine.defaultState;
49 systemsStateMachine.previousState = null;
50 }
51 }
52 }
References systemsStateMachine.
◆ DisableInput()
| void IuvoUnity.Constants.IuvoGame.DisableInput |
( |
| ) |
|
◆ EnableInput()
| void IuvoUnity.Constants.IuvoGame.EnableInput |
( |
| ) |
|
◆ EnterMenu()
| void IuvoUnity.Constants.IuvoGame.EnterMenu |
( |
| ) |
|
◆ ExitMenu()
| void IuvoUnity.Constants.IuvoGame.ExitMenu |
( |
| ) |
|
◆ InitializeGame()
| void IuvoUnity.Constants.IuvoGame.InitializeGame |
( |
| ) |
|
◆ LoadGameAsync()
| void IuvoUnity.Constants.IuvoGame.LoadGameAsync |
( |
| ) |
|
◆ LoadGameSafe()
| void IuvoUnity.Constants.IuvoGame.LoadGameSafe |
( |
| ) |
|
◆ LoadLevelAsync()
| void IuvoUnity.Constants.IuvoGame.LoadLevelAsync |
( |
| ) |
|
◆ LoadLevelSafe()
| void IuvoUnity.Constants.IuvoGame.LoadLevelSafe |
( |
| ) |
|
◆ LoadMainMenu()
| void IuvoUnity.Constants.IuvoGame.LoadMainMenu |
( |
| ) |
|
◆ LogGameError()
| void IuvoUnity.Constants.IuvoGame.LogGameError |
( |
string | message | ) |
|
◆ LogGameInfo()
| void IuvoUnity.Constants.IuvoGame.LogGameInfo |
( |
| ) |
|
Implements IuvoUnity.Constants.IGameDebug.
205 {
206 IuvoDebug.DebugLog($"Game: {gameName}");
207 IuvoDebug.DebugLog($"Game Version: {gameVersion}");
208 IuvoDebug.DebugLog($"Developer: {developerName}");
209 IuvoDebug.DebugLog($"Publisher: {publisherName}");
210 IuvoDebug.DebugLog($"Screen Resolution: {screenWidth}x{screenHeight}");
211 }
References IuvoUnity.Debug.IuvoDebug.DebugLog().
◆ LogGameState()
| void IuvoUnity.Constants.IuvoGame.LogGameState |
( |
| ) |
|
◆ LogGameWarning()
| void IuvoUnity.Constants.IuvoGame.LogGameWarning |
( |
string | message | ) |
|
◆ PauseGame()
| void IuvoUnity.Constants.IuvoGame.PauseGame |
( |
| ) |
|
◆ PlaySplashScreen()
| void IuvoUnity.Constants.IuvoGame.PlaySplashScreen |
( |
| ) |
|
◆ QuitGame()
| void IuvoUnity.Constants.IuvoGame.QuitGame |
( |
| ) |
|
◆ ReloadLevel()
| void IuvoUnity.Constants.IuvoGame.ReloadLevel |
( |
| ) |
|
◆ RespawnPlayer()
| void IuvoUnity.Constants.IuvoGame.RespawnPlayer |
( |
| ) |
|
◆ RespawnPlayerAtCheckpoint()
| void IuvoUnity.Constants.IuvoGame.RespawnPlayerAtCheckpoint |
( |
| ) |
|
◆ RestartLevelAtCheckpoint()
| void IuvoUnity.Constants.IuvoGame.RestartLevelAtCheckpoint |
( |
| ) |
|
◆ RunGame()
| void IuvoUnity.Constants.IuvoGame.RunGame |
( |
| ) |
|
◆ SaveGame()
| void IuvoUnity.Constants.IuvoGame.SaveGame |
( |
| ) |
|
◆ SetScreenMode()
| void IuvoUnity.Constants.IuvoGame.SetScreenMode |
( |
FullScreenMode | mode | ) |
|
196 {
197 Screen.fullScreenMode = mode;
198 }
◆ SetScreenResolution()
| void IuvoUnity.Constants.IuvoGame.SetScreenResolution |
( |
int | width, |
|
|
int | height ) |
189 {
190 screenWidth = width;
191 screenHeight = height;
192 Screen.SetResolution(screenWidth, screenHeight, Screen.fullScreenMode);
193 }
References screenHeight, and screenWidth.
◆ ShowCreditsScreen()
| void IuvoUnity.Constants.IuvoGame.ShowCreditsScreen |
( |
| ) |
|
◆ ShowDeathMenu()
| void IuvoUnity.Constants.IuvoGame.ShowDeathMenu |
( |
| ) |
|
◆ ShowMainMenu()
| void IuvoUnity.Constants.IuvoGame.ShowMainMenu |
( |
| ) |
|
◆ ShowSplashScreen()
| void IuvoUnity.Constants.IuvoGame.ShowSplashScreen |
( |
| ) |
|
◆ ShutdownGame()
| void IuvoUnity.Constants.IuvoGame.ShutdownGame |
( |
| ) |
|
◆ StartGame()
| void IuvoUnity.Constants.IuvoGame.StartGame |
( |
| ) |
|
◆ UnpauseGame()
| void IuvoUnity.Constants.IuvoGame.UnpauseGame |
( |
| ) |
|
◆ UpdateMenu()
| void IuvoUnity.Constants.IuvoGame.UpdateMenu |
( |
| ) |
|
◆ WinGame()
| void IuvoUnity.Constants.IuvoGame.WinGame |
( |
| ) |
|
◆ developerName
| string IuvoUnity.Constants.IuvoGame.developerName = "Iuvo" |
◆ gameName
| string IuvoUnity.Constants.IuvoGame.gameName = "IuvoGame" |
◆ gameStateMachine
◆ gameVersion
| string IuvoUnity.Constants.IuvoGame.gameVersion = "0.0.1" |
◆ IuvoTag
◆ menuStateMachine
◆ publisherName
| string IuvoUnity.Constants.IuvoGame.publisherName = "Iuvo" |
◆ screenHeight
| int IuvoUnity.Constants.IuvoGame.screenHeight = 1080 |
◆ screenWidth
| int IuvoUnity.Constants.IuvoGame.screenWidth = 1920 |
◆ systemsStateMachine
The documentation for this class was generated from the following file:
- D:/Unity/IuvoUnityCore/Assets/IuvoUnity/Runtime/Constants/IuvoGame.cs