Interface IXRTargetEvaluatorLinkable
An interface that an XRTargetFilter can implement to receive calls whenever an Interactor links to or
unlinks from its filter.
Implement this interface if the evaluator needs to subscribe to events or cache data from the linked Interactors.
Namespace: UnityEngine.XR.Interaction.Toolkit.Filtering
Assembly: solution.dll
Syntax
public interface IXRTargetEvaluatorLinkable
Methods
| Name | Description |
|---|---|
| OnLink(IXRInteractor) | Called by the Target Filter when it links to the given Interactor.
This is also called after the evaluator's Awake() for each already linked Interactor.
|
| OnUnlink(IXRInteractor) | Called by the Target Filter when it unlinks from the given Interactor.
This is also called before the evaluator's OnDispose() for each linked Interactor.
|