Static Public Member Functions | Protected Member Functions | List of all members
Office.Scripts.QuitButton Class Reference

The Quit button component of the office scene. Manages the action of leaving the scene. More...

Inheritance diagram for Office.Scripts.QuitButton:
Components.HoverableButton

Static Public Member Functions

static void PromptQuit ()
 Prompt to quit the scene. More...
 

Protected Member Functions

override void Start ()
 Called on the scene initialization. Registers to open a prompt when the user clicks on the button. More...
 

Additional Inherited Members

- Public Member Functions inherited from Components.HoverableButton
override void OnPointerEnter (PointerEventData eventData)
 Fires the hover event whenever the mouse enters. More...
 
- Properties inherited from Components.HoverableButton
UnityEvent onHover [get, set]
 

Detailed Description

The Quit button component of the office scene. Manages the action of leaving the scene.

Member Function Documentation

static void Office.Scripts.QuitButton.PromptQuit ( )
inlinestatic

Prompt to quit the scene.

override void Office.Scripts.QuitButton.Start ( )
inlineprotected

Called on the scene initialization. Registers to open a prompt when the user clicks on the button.


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