Introduction
The Interactor component provides 3D objects with the ability to interact with the environment via raycasting.

Fields#
| Name | Description |
|---|---|
| Detection Mode | Type of detection to use |
| Interaction Layer | Raycast layermask |
| Emission Offset | Offset from the source to use when raycasting |
| Emission Source | Source of the raycast |
| Half Extends | Height used for cubecast |
| Max Distance | Maximum allowed interaction distance |
| Broadcast Events | Determines if events should also be sent to the Broadcaster |
| Channel Name | Name of the channel on the Broadcaster to use |
| On Interactable Found | Event raised when encountering a new interactable |
| On Interactable Lost | Event raised when target interactable is no longer available |
Properties#
| Name | Description |
|---|---|
| activeUI | Gets the currently active UI for this object |
| actor | Gets reference to the associated actor |
| interactorComponents | Get list of interactor components associated with this object |
| Target | Get/Set currently active interactable target |
Methods#
| Name | Description |
|---|---|
| ColliderOrTriggerEnter | Register collider/trigger enter event |
| ColliderOrTriggerExit | Register collider/trigger exit event |
| GetInteractorComponent | Get a interactor component of a specific type |
| InteractWithTarget | Interact with the current Target |
| RefreshActor | Attempt to find actor for component |
| RegisterInteractorComponent | Register a new interactor component |
| RemoveInteractorComponent | Remove an interactor component from the list of registered components |