MyDungeon Documentation
ExitMenu Class |
ExitMenu is the class that handles the menu that allows the player to leave the dungeon or continue to the next floor
Inheritance Hierarchy
Namespace: MyDungeon.UI.Menu
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ExitMenu : MonoBehaviour
The ExitMenu type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
Continue |
Called when the Continue button is clicked
| |
Exit |
Called when the Exit button is clicked
| |
ShowMenu |
Instantiates the menu prefab and sets up EventSystem selections
| |
Start |
Grabs reference to the current EventSystem
| |
Update |
Places selection back on the menu if movement controls are pressed after losing menu focus
|
Fields
Name | Description | |
---|---|---|
ContinueScene |
Scene that is loaded when Continue is clicked
| |
EventSystem | ||
ExitMenuPrefab |
Prefab of the Exit Menu
| |
ExitScene |
Scene that is loaded when Exit is clicked
| |
LastSelected |
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also