![]() | HandUI Methods |
The HandUI type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddCommandsToPage |
Adds commands to an existing page to the HandUI.
|
![]() | AddCustomPage(String, Sprite, ListUICommand) |
Adds a custom page to the HandUI.
|
![]() | AddCustomPage(String, Sprite, String, ListUICommand) |
Adds a custom page to the HandUI.
|
![]() | AddNotification |
Adds a new notification
|
![]() | CoroutineInitialise |
Override this to perform initialisation tasks
This coroutine is started in Awake().
To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.) |
![]() | EnableCommandOnPage |
Enables/Disables a command on the page.
|
![]() | HasCustomPage |
Returns true if the custom page exists, otherwise false
|
![]() | OnAwake |
Override this method to call code in the Awake() method (after singleton registration, but before coroutine)
(Overrides SingletonBehaviourOnAwake.) |
![]() | RemoveCommandsFromPage |
Removes commands from an existing page to the HandUI.
|
![]() | RemoveNotification |
Remove a previously added notification
|
![]() | RemovePage |
Removes a page with the given ID
|
![]() | SetPageAvailable |
If the page is available, it can be selected from the top shelf. If not, it is hidden from the top shelf.
|
![]() | UpdateCommandColorOnPage |
Applies a color to a command on the page. Pass in null to revert back to original default color.
|
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |