UxrButton3D.OnKeyPressed Method
Event trigger for the key pressed event. It can be overridden in child classes to handle key presses without subscribing to events.
Namespace: UltimateXR.UI.UnityInputModule.Utils
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
protected virtual void OnKeyPressed(
UxrControlInput controlInput,
PointerEventData eventData
)
Parameters
- controlInput
- Type: UltimateXR.UI.UnityInputModule.Controls.UxrControlInput
Control that triggered the event - eventData
- Type: PointerEventData
Input event data
See Also
Reference
UxrButton3D Class
UltimateXR.UI.UnityInputModule.Utils Namespace