Class UIInteractorUnregisteredEventArgs
Event data associated with the event when a UI interactor is unregistered from an XRUIInputModule.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public class UIInteractorUnregisteredEventArgs
Remarks
When an IUIInteractor is unregistered with the XRUIInputModule, the OnUnregistered(UIInteractorUnregisteredEventArgs) method and interactorUnregistered event are invoked with UIInteractorUnregisteredEventArgs as parameters.
Properties
inputModule
The XR UI Input Module associated with the registration event.
Declaration
public XRUIInputModule inputModule { get; set; }
Property Value
| Type | Description |
|---|---|
| XRUIInputModule |
See Also
inputModuleDestroyed
Whether the unregistration event was due to the input module being destroyed.
Declaration
public bool inputModuleDestroyed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
interactor
The UI interactor that was unregistered.
Declaration
public IUIInteractor interactor { get; set; }
Property Value
| Type | Description |
|---|---|
| IUIInteractor |