InteractableEventRoute<S,T>.GetTargets 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.
Search for and return all IXRInteractableEventRouteTarget objects that should receive events from the registered IXRInteractable objects.
protected abstract void GetTargets(UnityEngine.GameObject origin, System.Collections.Generic.List<T> targets);
abstract member GetTargets : UnityEngine.GameObject * System.Collections.Generic.List<'T (requires 'T :> MixedReality.Toolkit.Experimental.IXRInteractableEventRouteTarget)> -> unit
Protected MustOverride Sub GetTargets (origin As GameObject, targets As List(Of T))
Parameters
- origin
- UnityEngine.GameObject
This game object will be queried for components that implement IXRInteractableEventRouteTarget.
- targets
- List<T>
A list that should be filled with specialized IXRInteractableEventRouteTarget component objects.