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

Used for the buttons on the level selection map. As for the map script, pretty specific, you may want to implement your own classes for your level selection. More...

Inheritance diagram for MoreMountains.InfiniteRunnerEngine.MapButton:

Public Member Functions

virtual void PressMapButton ()
 When the map button is pressed, we move the particle emitter to the button's coordinates If we had already pressed that button, we go to the specified level More...
 
virtual void MoveEmitter ()
 Moves the emitter to the button's coordinates More...
 

Public Attributes

string LevelName
 The name of the level this button will point to. Has to be EXACTLY the name of your scene. More...
 

Detailed Description

Used for the buttons on the level selection map. As for the map script, pretty specific, you may want to implement your own classes for your level selection.

Member Function Documentation

◆ MoveEmitter()

virtual void MoreMountains.InfiniteRunnerEngine.MapButton.MoveEmitter ( )
virtual

Moves the emitter to the button's coordinates

◆ PressMapButton()

virtual void MoreMountains.InfiniteRunnerEngine.MapButton.PressMapButton ( )
virtual

When the map button is pressed, we move the particle emitter to the button's coordinates If we had already pressed that button, we go to the specified level

Member Data Documentation

◆ LevelName

string MoreMountains.InfiniteRunnerEngine.MapButton.LevelName

The name of the level this button will point to. Has to be EXACTLY the name of your scene.


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