Language
Edit

SpeechInteractor.OnSelectExiting(SelectExitEventArgs) Method

Definition

UnityEngine.XR.Interaction.Toolkit.XRBaseInteractor.OnSelectExiting(UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs)
protected override void OnSelectExiting(UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs args);
override this.OnSelectExiting : UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs -> unit
Protected Overrides Sub OnSelectExiting (args As SelectExitEventArgs)

Parameters

args
UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs

Remarks

Special workaround: as XRI does not support selecting more than one interactable at a time, drop part of the selection lifecycle management provided by XRI and manually tell the interaction manager to enter/exit selection

When this SpeechInteractor is initiating SelectExit from ProcessInteractor (i.e. exitingSelect is true) we still call into the base to exit the select.

Applies to