InteractableEventRoute<S,T>.Unregister 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.
Overloads
| Name | Description |
|---|---|
| Unregister(IXRInteractable) |
Stop listening to events from a registered IXRInteractable. |
| Unregister(S, T) |
Remove event handlers that are handling events from the |
Unregister(IXRInteractable)
Stop listening to events from a registered IXRInteractable.
public void Unregister(UnityEngine.XR.Interaction.Toolkit.IXRInteractable interactable);
abstract member Unregister : UnityEngine.XR.Interaction.Toolkit.IXRInteractable -> unit
override this.Unregister : UnityEngine.XR.Interaction.Toolkit.IXRInteractable -> unit
Public Sub Unregister (interactable As IXRInteractable)
Parameters
- interactable
- UnityEngine.XR.Interaction.Toolkit.IXRInteractable
The interactable to unregister. Events will no longer be handled by this IXRInteractableEventRoute.
Implements
Applies to
Unregister(S, T)
Remove event handlers that are handling events from the source and directing them to the target.
protected abstract void Unregister(S source, T target);
abstract member Unregister : 'S * 'T -> unit
Protected MustOverride Sub Unregister (source As S, target As T)
Parameters
- source
- S
The source of the interactable events.
- target
- T
The target to handle the interactable events.