Description
Wraps Unity's Input System to provide dialogue-specific input handling. Loads the Dialogue action map from an InputActionAsset, caches actions by name, and provides methods to check input state and resolve per-device display labels.
Interface
| Type |
|---|
| IDialogueInputService |
| IGameInputProvider |
Inherits
Events
| Name | Type | Description |
|---|
| OnOptionClicked | Action<int> | Raised when a dialogue option is clicked by mouse. |
| OnOptionHovered | Action<int> | Raised when a dialogue option is hovered by mouse. |
Public Methods
| Name | Parameters | Return Type | Description |
|---|
| WasPressed | string actionName | bool | Returns true if the named action was pressed this frame. |
| GetDisplayLabel | string actionName | string | Returns the human-readable binding label for the current device mode. |
| CreateFromSettings | ModuleSettings | DialogueInputService | Factory method that creates and configures the service from module settings. |