WorldSpaceButton Class |
Namespace: ImmerseSDK.UI
[UnityEngine.RequireComponent(typeof(BoxCollider))] [UnityEngine.RequireComponent(typeof(Button))] public class WorldSpaceButton : LoggingBehaviour, IInteractableObject
The WorldSpaceButton type exposes the following members.
Name | Description | |
---|---|---|
WorldSpaceButton | Initializes a new instance of the WorldSpaceButton class |
Name | Description | |
---|---|---|
ClickAfterDelay |
Stops a user pressing the button too much times in a row
| |
OnTriggerEnter | ||
OnTriggerExit | ||
RequirementsMet | ||
ShowHighlight | ||
Start |
Name | Description | |
---|---|---|
_clickRoutine |
Stored Coroutine for holding a button press event with a delay that allows us to stop it later
| |
_currentInput |
The InputModule of the hand that interacted with the button
| |
triggerClick | ||
triggerPointerDown | ||
triggerPointerUp |
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.) |