Interface IUIInteractorRegistrationHandler
A IUIInteractor that gets notified when registered with the XR UI Input Module.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface IUIInteractorRegistrationHandler : IUIInteractor
Methods
OnRegistered(UIInteractorRegisteredEventArgs)
The XRUIInputModule calls this method when this UI interactor is registered with it.
Declaration
void OnRegistered(UIInteractorRegisteredEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| UIInteractorRegisteredEventArgs | args | Event data containing the XR UI Input Module that registered this UI interactor. |
Remarks
args is only valid during this method call, do not hold a reference to it.
See Also
OnUnregistered(UIInteractorUnregisteredEventArgs)
The XRUIInputModule calls this method when this UI interactor is unregistered from it.
Declaration
void OnUnregistered(UIInteractorUnregisteredEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| UIInteractorUnregisteredEventArgs | args | Event data containing the XR UI Input Module that unregistered this UI interactor. |
Remarks
args is only valid during this method call, do not hold a reference to it.