UGUIInputAdapter.OnInteractorRegistered(InteractorRegisteredEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a an UnityEngine.XR.Interaction.Toolkit.IXRInteractor is registered with a Unity UnityEngine.XR.Interaction.Toolkit.XRInteractionManager.
protected virtual void OnInteractorRegistered(UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs args);
abstract member OnInteractorRegistered : UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs -> unit
override this.OnInteractorRegistered : UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs -> unit
Protected Overridable Sub OnInteractorRegistered (args As InteractorRegisteredEventArgs)
Parameters
- args
- UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs
The UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs holding the event data associated with the event when an UnityEngine.XR.Interaction.Toolkit.IXRInteractor is registered with an UnityEngine.XR.Interaction.Toolkit.XRInteractionManager.
Remarks
The UnityEngine.XR.Interaction.Toolkit.InteractorRegisteredEventArgs passed to each listener is only valid while the event is invoked, do not hold a reference to it.