Language
Edit

SpeechInteractor.GetValidTargets(List<IXRInteractable>) Method

Definition

UnityEngine.XR.Interaction.Toolkit.IXRInteractor.GetValidTargets(System.Collections.Generic.List{UnityEngine.XR.Interaction.Toolkit.IXRInteractable})
public override void GetValidTargets(System.Collections.Generic.List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable> targets);
override this.GetValidTargets : System.Collections.Generic.List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable> -> unit
Public Overrides Sub GetValidTargets (targets As List(Of IXRInteractable))

Parameters

targets
List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable>

Implements

UnityEngine.XR.Interaction.Toolkit.IXRInteractor.GetValidTargets(System.Collections.Generic.List{UnityEngine.XR.Interaction.Toolkit.IXRInteractable})

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

Applies to