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...
|
string | NextLevelName |
| the name of the next level. You have to make sure the name is the exact name of your scene. More...
|
|
|
virtual void | Update () |
| On each frame, we check for input More...
|
|
virtual void | Awake () |
| On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake. More...
|
|
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
◆ GoToLevel()
virtual void MoreMountains.InfiniteRunnerEngine.StartScreen.GoToLevel |
( |
| ) |
|
|
virtual |
Loads the level specified in parameters (usually called via MapButton.cs in our case)
- Parameters
-
◆ Update()
virtual void MoreMountains.InfiniteRunnerEngine.StartScreen.Update |
( |
| ) |
|
|
protectedvirtual |
On each frame, we check for input
◆ 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: