ExitMenu Class

MyDungeon

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
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          MyDungeon.UI.MenuExitMenu

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
  NameDescription
Public methodExitMenu
Initializes a new instance of the ExitMenu class
Top
Methods
  NameDescription
Public methodContinue
Called when the Continue button is clicked
Public methodExit
Called when the Exit button is clicked
Protected methodShowMenu
Instantiates the menu prefab and sets up EventSystem selections
Protected methodStart
Grabs reference to the current EventSystem
Protected methodUpdate
Places selection back on the menu if movement controls are pressed after losing menu focus
Top
Fields
  NameDescription
Public fieldContinueScene
Scene that is loaded when Continue is clicked
Protected fieldEventSystem
Public fieldExitMenuPrefab
Prefab of the Exit Menu
Public fieldExitScene
Scene that is loaded when Exit is clicked
Protected fieldLastSelected
Top
Extension Methods
  NameDescription
Public Extension MethodInvoke
Invoke using a delegate
(Defined by MonoBehaviourExtensions.)
Top
See Also