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

This class handles the level selection map. It's pretty specific, you'll probably want to code your own to fit your own level selection needs. More...

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

Public Member Functions

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

Public Attributes

ParticleSystem ActiveLevelParticleEmitter
 The particle system that signals what level is currently selected. More...
 
Text LevelNameText
 The text object that will actually display the. More...
 

Protected Member Functions

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

Detailed Description

This class handles the level selection map. It's pretty specific, you'll probably want to code your own to fit your own level selection needs.

Member Function Documentation

◆ GoToLevel()

virtual void MoreMountains.InfiniteRunnerEngine.Map.GoToLevel ( string  levelName)
virtual

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

Parameters
levelNameLevel name.

◆ RestartLevel()

virtual void MoreMountains.InfiniteRunnerEngine.Map.RestartLevel ( )
virtual

Restarts the current level.

◆ Update()

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

On each frame, we check for input

Member Data Documentation

◆ ActiveLevelParticleEmitter

ParticleSystem MoreMountains.InfiniteRunnerEngine.Map.ActiveLevelParticleEmitter

The particle system that signals what level is currently selected.

◆ LevelNameText

Text MoreMountains.InfiniteRunnerEngine.Map.LevelNameText

The text object that will actually display the.


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