Infinite Runner Engine v1.9
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager Class Reference

Handles all GUI effects and changes More...

Inheritance diagram for MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager:
MoreMountains.InfiniteRunnerEngine.GUIManager MoreMountains.Tools.MMEventListener< MMGameEvent > MoreMountains.Tools.MMSingleton< GUIManager > MoreMountains.Tools.MMEventListener< MMGameEvent >

Public Member Functions

override void Initialize ()
 Initialization More...
 
virtual void MoveIn (GameObject target, Vector3 originalPosition, Vector3 direction, float duration)
 
virtual void MoveOut (GameObject target, Vector3 direction, float duration)
 
override void OnGameStart ()
 Override this to have code executed on the GameStart event More...
 
override void RefreshPoints ()
 Sets the text to the game manager's points. More...
 
override void SetPause (bool state)
 Sets the pause. More...
 
override void SetGameOverScreen (bool state)
 Sets the game over screen on or off. More...
 
override void OnMMEvent (MMGameEvent gameEvent)
 
- Public Member Functions inherited from MoreMountains.InfiniteRunnerEngine.GUIManager
virtual void InitializeLives ()
 Initializes the lives display. More...
 
virtual void SetCountdownActive (bool state)
 Sets the countdown active. More...
 
virtual void SetCountdownText (string newText)
 Sets the countdown text. 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...
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMGameEvent >
void OnMMEvent (T eventType)
 

Public Attributes

GameObject UnderGUIFader
 
GameObject Logo
 
GameObject TapToFly
 
GameObject PauseButton
 
Text Instructions
 
GameObject HomeHighscore
 
Text HomeHighScoreTitle
 
Text HomeHighScoreDisplay
 
GameObject NewRecordImage
 
Text ScoreTitle
 
Text ScoreDisplay
 
Text HighscoreTitle
 
Text HighscoreDisplay
 
GameObject StartAgainImage
 
GameObject GameOverScore
 
GameObject ResetHighScoreText
 
- Public Attributes inherited from MoreMountains.InfiniteRunnerEngine.GUIManager
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 IEnumerator MakeTextPop (float newSize)
 Makes the text bigger and then smaller. More...
 
virtual void HighScoreReset ()
 
- Protected Member Functions inherited from MoreMountains.InfiniteRunnerEngine.GUIManager
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...
 

Protected Attributes

Vector3 _homeHighscoreInitialPosition
 
Vector3 _logoInitialPosition
 
Vector3 _tapToFlyInitialPosition
 
Vector3 _instructionsInitialPosition
 
Vector3 _originalPointsScale
 

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...
 

Detailed Description

Handles all GUI effects and changes

Member Function Documentation

◆ HighScoreReset()

virtual void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HighScoreReset ( )
protectedvirtual

◆ Initialize()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.Initialize ( )
virtual

Initialization

Reimplemented from MoreMountains.InfiniteRunnerEngine.GUIManager.

◆ MakeTextPop()

virtual IEnumerator MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.MakeTextPop ( float  newSize)
protectedvirtual

Makes the text bigger and then smaller.

Returns
The text pop.
Parameters
newSizeNew size.

◆ MoveIn()

virtual void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.MoveIn ( GameObject  target,
Vector3  originalPosition,
Vector3  direction,
float  duration 
)
virtual

◆ MoveOut()

virtual void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.MoveOut ( GameObject  target,
Vector3  direction,
float  duration 
)
virtual

◆ OnGameStart()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.OnGameStart ( )
virtual

Override this to have code executed on the GameStart event

Reimplemented from MoreMountains.InfiniteRunnerEngine.GUIManager.

◆ OnMMEvent()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.OnMMEvent ( MMGameEvent  gameEvent)
virtual

◆ RefreshPoints()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.RefreshPoints ( )
virtual

Sets the text to the game manager's points.

Reimplemented from MoreMountains.InfiniteRunnerEngine.GUIManager.

◆ SetGameOverScreen()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.SetGameOverScreen ( bool  state)
virtual

Sets the game over screen on or off.

Parameters
stateIf set to true, sets the game over screen on.

Reimplemented from MoreMountains.InfiniteRunnerEngine.GUIManager.

◆ SetPause()

override void MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.SetPause ( bool  state)
virtual

Sets the pause.

Parameters
stateIf set to true, sets the pause.

Reimplemented from MoreMountains.InfiniteRunnerEngine.GUIManager.

Member Data Documentation

◆ _homeHighscoreInitialPosition

Vector3 MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager._homeHighscoreInitialPosition
protected

◆ _instructionsInitialPosition

Vector3 MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager._instructionsInitialPosition
protected

◆ _logoInitialPosition

Vector3 MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager._logoInitialPosition
protected

◆ _originalPointsScale

Vector3 MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager._originalPointsScale
protected

◆ _tapToFlyInitialPosition

Vector3 MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager._tapToFlyInitialPosition
protected

◆ GameOverScore

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.GameOverScore

◆ HighscoreDisplay

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HighscoreDisplay

◆ HighscoreTitle

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HighscoreTitle

◆ HomeHighscore

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HomeHighscore

◆ HomeHighScoreDisplay

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HomeHighScoreDisplay

◆ HomeHighScoreTitle

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.HomeHighScoreTitle

◆ Instructions

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.Instructions

◆ Logo

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.Logo

◆ NewRecordImage

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.NewRecordImage

◆ PauseButton

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.PauseButton

◆ ResetHighScoreText

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.ResetHighScoreText

◆ ScoreDisplay

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.ScoreDisplay

◆ ScoreTitle

Text MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.ScoreTitle

◆ StartAgainImage

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.StartAgainImage

◆ TapToFly

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.TapToFly

◆ UnderGUIFader

GameObject MoreMountains.InfiniteRunnerEngine.SkyTheoryGUIManager.UnderGUIFader

The documentation for this class was generated from the following file: