ExitMenu Class
From MyDungeon
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
Namespace: MyDungeon.UI.Menu
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
C#
public class ExitMenu : MonoBehaviour
The ExitMenu type exposes the following members.
| 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
|
| 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 |
| Name | Description | |
|---|---|---|
| Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |