Infinite Runner Engine v1.9
|
Handles all GUI effects and changes More...
Public Member Functions | |
virtual void | Initialize () |
Initialization More... | |
virtual void | InitializeLives () |
Initializes the lives display. More... | |
virtual void | OnGameStart () |
Override this to have code executed on the GameStart event More... | |
virtual void | SetPause (bool state) |
Sets the pause. More... | |
virtual void | SetCountdownActive (bool state) |
Sets the countdown active. More... | |
virtual void | SetCountdownText (string newText) |
Sets the countdown text. More... | |
virtual void | SetGameOverScreen (bool state) |
Sets the game over screen on or off. More... | |
virtual void | RefreshPoints () |
Sets the text to the game manager's points. More... | |
virtual void | SetLevelName (string name) |
Sets the level name in the HUD More... | |
virtual void | FaderOn (bool state, float duration) |
Fades the fader in or out depending on the state More... | |
virtual void | FaderTo (Color newColor, float duration) |
Fades the fader to the alpha set as parameter More... | |
virtual void | OnMMEvent (MMGameEvent gameEvent) |
Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMGameEvent > | |
void | OnMMEvent (T eventType) |
Public Attributes | |
GameObject | PauseScreen |
the pause screen game object More... | |
GameObject | GameOverScreen |
the game over screen game object More... | |
GameObject | HeartsContainer |
the object that will contain lives hearts More... | |
Text | PointsText |
the points counter More... | |
Text | LevelText |
the level display More... | |
Text | CountdownText |
the countdown at the start of a level More... | |
Image | Fader |
the screen used for all fades More... | |
GameObject | GUIHeartEmpty |
the gameobject to use to represent lost lives More... | |
GameObject | GUIHeartFull |
the gameobject to use to represent lost lives More... | |
Protected Member Functions | |
virtual void | OnEnable () |
virtual void | OnDisable () |
Protected Member Functions inherited from MoreMountains.Tools.MMSingleton< GUIManager > | |
virtual void | Awake () |
On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MoreMountains.Tools.MMSingleton< GUIManager > | |
static T | TryGetInstance () |
Static Protected Attributes inherited from MoreMountains.Tools.MMSingleton< GUIManager > | |
static T | _instance |
Properties inherited from MoreMountains.Tools.MMSingleton< GUIManager > | |
static bool | HasInstance [get] |
static T | Current [get] |
static T | Instance [get] |
Singleton design pattern More... | |
Handles all GUI effects and changes
|
virtual |
Fades the fader in or out depending on the state
state | If set to true fades the fader in, otherwise out if false . |
|
virtual |
Fades the fader to the alpha set as parameter
newColor | The color to fade to. |
duration | Duration. |
|
virtual |
Initialization
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
|
virtual |
Initializes the lives display.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Override this to have code executed on the GameStart event
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
|
virtual |
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
|
virtual |
Sets the text to the game manager's points.
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
|
virtual |
Sets the countdown active.
state | If set to true state. |
|
virtual |
Sets the countdown text.
value | the new countdown text. |
|
virtual |
Sets the game over screen on or off.
state | If set to true , sets the game over screen on. |
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
|
virtual |
Sets the level name in the HUD
|
virtual |
Sets the pause.
state | If set to true , sets the pause. |
Reimplemented in MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.
Text MoreMountains.InfiniteRunnerEngine.GUIManager.CountdownText |
the countdown at the start of a level
Image MoreMountains.InfiniteRunnerEngine.GUIManager.Fader |
the screen used for all fades
GameObject MoreMountains.InfiniteRunnerEngine.GUIManager.GameOverScreen |
the game over screen game object
GameObject MoreMountains.InfiniteRunnerEngine.GUIManager.GUIHeartEmpty |
the gameobject to use to represent lost lives
GameObject MoreMountains.InfiniteRunnerEngine.GUIManager.GUIHeartFull |
the gameobject to use to represent lost lives
GameObject MoreMountains.InfiniteRunnerEngine.GUIManager.HeartsContainer |
the object that will contain lives hearts
Text MoreMountains.InfiniteRunnerEngine.GUIManager.LevelText |
the level display
GameObject MoreMountains.InfiniteRunnerEngine.GUIManager.PauseScreen |
the pause screen game object
Text MoreMountains.InfiniteRunnerEngine.GUIManager.PointsText |
the points counter