Method GetActivateTargets
GetActivateTargets(List<IXRActivateInteractable>)
Retrieve the list of Interactables that this Interactor could possibly activate or deactivate this frame.
Declaration
public virtual void GetActivateTargets(List<IXRActivateInteractable> targets)
Parameters
| Type | Name | Description |
|---|---|---|
| List<IXRActivateInteractable> | targets | The results list to populate with Interactables that are valid for activate or deactivate. |
Implements
Remarks
When implementing this method, Unity expects you to clear targets before adding to it.