Description
Manages dialogue option presentation and player selection during conversations. Filters available connections, populates option labels, handles keyboard and mouse input, and triggers navigation when the player selects an option.
Interface
Inherits
Properties
| Name | Type | Description |
|---|
| currentSelectedOption | int | The index of the currently highlighted option. |
Public Methods
| Name | Parameters | Return Type | Description |
|---|
| Update | ChatData node, bool displayOptions | void | Filters connections, populates option labels, and optionally shows the options UI. |
| InputUpdate | N/A | void | Polls NavigateUp, NavigateDown, and Advance input actions. On Advance, either advances the beat or selects the current option. |
| SelectOption | N/A | void | Confirms the current selection, applies blackboard effects, and navigates to the target node. |
| Dispose | N/A | void | Unsubscribes from input events and cleans up. |