Introduction
The InteractorUI component provides UI prompts for the player for interactable objects. This prefab should be set on the Interface Manager.

Fields#
| Name | Description |
|---|---|
| Item UI | Element displaying item information |
| Id | Id used to find object when not referenced directly |
| Ui Text | Destination of the text |
| Format | Format to use when setting text. {0} is replaced with the supplied interactable object text |
| Require Hold | Require button/key to be held to interact |
| Hold Time | Seconds to require hold before interaction |
| Hold Progressbar | Progressbar for hold time |
| On Held Time Changed | Event raised when held time changes |
Properties#
| Name | Description |
|---|---|
| holding | Get/Set if the interaction button is being held |
| overrideInteraction | Get if this UI is overriding the default interaction input |
| source | Get/Set the interactor displaying this UI |
| target | Get/Set the target interactable object |
| timeHeld | Get/Set the amount of time the interaction button has been held |
Methods#
| Name | Description |
|---|---|
| Initialize | Initialize the object |
| InteractWithTarget | Interact with the target |
| SetText | Set the text for the UI |
| UseAction | Perform interaction using an Interactor UI Action |