InteractableParentEventRoute<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 override void GetTargets(UnityEngine.GameObject origin, System.Collections.Generic.List<T> targets);
override this.GetTargets : UnityEngine.GameObject * System.Collections.Generic.List<'T (requires 'T :> MixedReality.Toolkit.Experimental.IXRInteractableEventRouteTarget)> -> unit
Protected Overrides Sub GetTargets (origin As GameObject, targets As List(Of T))
Parameters
- origin
- UnityEngine.GameObject
The game object whose children will be queried for components that implement IXRInteractableEventRouteTarget.
- targets
- List<T>
A list that should be filled with specialized IXRInteractableEventRouteTarget component objects.