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

Add this component to a button so it can be used to go to a level, or restart the current one More...

Inheritance diagram for MoreMountains.InfiniteRunnerEngine.LevelSelector:

Public Member Functions

virtual void GoToLevel ()
 Asks the LevelManager to go to a specified level More...
 
virtual void RestartLevel ()
 Restarts the current level. More...
 
virtual void Resume ()
 Resumes the game More...
 
virtual void ResetScore ()
 Resets the score. More...
 

Public Attributes

string LevelName
 

Detailed Description

Add this component to a button so it can be used to go to a level, or restart the current one

Member Function Documentation

◆ GoToLevel()

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

Asks the LevelManager to go to a specified level

◆ ResetScore()

virtual void MoreMountains.InfiniteRunnerEngine.LevelSelector.ResetScore ( )
virtual

Resets the score.

◆ RestartLevel()

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

Restarts the current level.

◆ Resume()

virtual void MoreMountains.InfiniteRunnerEngine.LevelSelector.Resume ( )
virtual

Resumes the game

Member Data Documentation

◆ LevelName

string MoreMountains.InfiniteRunnerEngine.LevelSelector.LevelName

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