Description
Manages dialogue option presentation and player selection during conversations. Filters available connections, populates option labels, handles keyboard, mouse and gamepad input, and triggers navigation when the player selects an option.
Only connections marked to display within options, and whose availability check passes for the speaking agent, are offered. See Responses and Options.
Interface
Inherits
Fields
| Name | Type | Description |
|---|
| currentSelectedOption | int | The index of the currently highlighted option. |
Public Methods
| Name | Parameters | Return Type | Description |
|---|
| Update | ChatData data, 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. |
| Display | bool active | void | Shows or hides the options UI without recalculating the option list. |
| SelectOption | string selectedOption | void | Confirms the given connection entry ID, applies blackboard effects, and navigates to the target node. |
| Dispose | N/A | void | Unsubscribes from input events and cleans up. |