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

This class handles the start screen. All it does is check for the player pressing the main action button, and if pressed, it loads the specified level More...

Inheritance diagram for MoreMountains.InfiniteRunnerEngine.StartScreen:
MoreMountains.Tools.MMSingleton< StartScreen >

Public Member Functions

virtual void GoToLevel ()
 Loads the level specified in parameters (usually called via MapButton.cs in our case) More...
 

Public Attributes

string NextLevelName
 the name of the next level. You have to make sure the name is the exact name of your scene. More...
 

Protected Member Functions

virtual void Update ()
 On each frame, we check for input More...
 
- Protected Member Functions inherited from MoreMountains.Tools.MMSingleton< StartScreen >
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< StartScreen >
static T TryGetInstance ()
 
- Static Protected Attributes inherited from MoreMountains.Tools.MMSingleton< StartScreen >
static T _instance
 
- Properties inherited from MoreMountains.Tools.MMSingleton< StartScreen >
static bool HasInstance [get]
 
static T Current [get]
 
static T Instance [get]
 Singleton design pattern More...
 

Detailed Description

This class handles the start screen. All it does is check for the player pressing the main action button, and if pressed, it loads the specified level

Member Function Documentation

◆ GoToLevel()

virtual void MoreMountains.InfiniteRunnerEngine.StartScreen.GoToLevel ( )
virtual

Loads the level specified in parameters (usually called via MapButton.cs in our case)

Parameters
levelNameLevel name.

◆ Update()

virtual void MoreMountains.InfiniteRunnerEngine.StartScreen.Update ( )
protectedvirtual

On each frame, we check for input

Member Data Documentation

◆ NextLevelName

string MoreMountains.InfiniteRunnerEngine.StartScreen.NextLevelName

the name of the next level. You have to make sure the name is the exact name of your scene.


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