Represents any menu (a logical grouping of ui elements) within a MenuRoot
More...
|
virtual void | SetInteractable (bool value) |
| Setter to change the interactable state of this menu More...
|
|
virtual void | SetVisible (bool value) |
| Setter to change the visible state of this menu More...
|
|
Represents any menu (a logical grouping of ui elements) within a MenuRoot
◆ InteractableType
Represents a particular style of interactivity for a Menu
Enumerator |
---|
SelectableEnable | Indicates that we should toggle interactivity by enabling or disabling any attached Selectables
|
SelectableInteractive | Indicates that we should toggle interactivity by changing the Selectable.interactable property on any attached Selectables
|
◆ SetInteractable()
virtual void MenuStack.Menu.SetInteractable |
( |
bool |
value | ) |
|
|
virtual |
Setter to change the interactable state of this menu
Note: this changes the state of the menus underlying Selectable components
- Parameters
-
◆ SetVisible()
virtual void MenuStack.Menu.SetVisible |
( |
bool |
value | ) |
|
|
virtual |
Setter to change the visible state of this menu
Note: this changes the state of the menus underlying GameObjects
- Parameters
-
◆ AlwaysUseInitialSelected
bool MenuStack.Menu.AlwaysUseInitialSelected = false |
Determines if we use initially selected Selectable when returning to the menu after the first time
If this is false
we'll instead keep history and return to the last selected Selectable
◆ CustomName
string MenuStack.Menu.CustomName = null |
A custom name for this menu
Overrides the default Name
◆ InitialSelected
Selectable MenuStack.Menu.InitialSelected = null |
The initially selected Selectable when this Menu is Visible
◆ InteractionType
◆ Interactable
bool MenuStack.Menu.Interactable |
|
getprotected set |
Indicates if this menu is interactable
◆ Name
string MenuStack.Menu.Name |
|
get |
The runtime name for this menu
◆ Visible
bool MenuStack.Menu.Visible |
|
getprotected set |
Indicates if this menu is visible
The documentation for this class was generated from the following file: