Class PlayerQuickMenuUI
UI menu that display when player hold "select" button during gameplay
Constructors
PlayerQuickMenuUI()
Declaration
public PlayerQuickMenuUI()
Properties
BackgroundRect
Rect position for background panel range in global size
Declaration
public IRect BackgroundRect { get; }
Instance
Global single instance for this entity
Declaration
public static PlayerQuickMenuUI Instance { get; }
ShowingUI
True if the ui id currently displaying
Declaration
public static bool ShowingUI { get; }
Methods
CloseMenu()
Close the quick menu UI if it's opening
Declaration
public static void CloseMenu()
OnActivated()
This function is called when entity enter the stage
Declaration
public override void OnActivated()
Overrides
OnInactivated()
This function is called when entity leave the stage
Declaration
public override void OnInactivated()
Overrides
OpenMenu()
Open the quick menu UI
Declaration
public static PlayerQuickMenuUI OpenMenu()
Returns
Type | Description |
---|---|
PlayerQuickMenuUI | Instance of the opened menu |
UpdateUI()
Declaration
public override void UpdateUI()