DialogueAdvanceInput
Last updated
Last updated
Class in Yarn.Unity
Inherits from UnityEngine.MonoBehaviour
A component that listens for user input, and uses it to notify a dialogue view that the user wishes to advance to the next step in the dialogue.
This class may be used with the Unity Input System, or the legacy Input Manager. The specific type of input it's looking for is configured via the continueActionType field.
When the configured input occurs, this component calls the UserRequestedViewAdvancement() method on its dialogueView.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
The type of input that this component is listening for in order to signal that its dialogue view should advance.
The UnityEngine.InputSystem.InputAction
that this component is listening for.
The keyboard key that this component is listening for.
An UnityEngine.InputSystem.InputActionReference
that refers to the action that this component is listening for.
The type of input that this component is listening for.
The dialogue view that will be notified when the user performs the advance input (as configured by continueActionType and related fields.)
Configures whether Action should be enabled on start.
Gets the UnityEngine.InputSystem.InputAction
configured by this DialogueAdvanceInput .