Interactions
The XRBaseInteractableRecorderModule
and XRBaseInteractorRecorderModule
records XR Interaction Toolkit interactable events and interactor events respectively.
These recording modules automatically picks up every Interactable and Interactor in the scene and records the associated events.
Update
Hooks
The XRBaseInteractableRecorderModule
hooks into the following methods to detect interactable events:
- IXRHoverInteractable.hoverEntered
- IXRHoverInteractable.hoverExited
- IXRSelectInteractable.selectEntered
- IXRSelectInteractable.selectExited
- IXRActivateInteractable.activated
- IXRDeactivateInteractable.deactivated
The XRBaseInteractorRecorderModule
hooks into the following methods to detect interactable events: