DialogueAdvanceInput
Class in Yarn.Unity​
Inherits from MonoBehaviour

Summary

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.
public class DialogueAdvanceInput : MonoBehaviour

Remarks

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.

Enums

Name
Description
​ContinueActionType​
The type of input that this component is listening for in order to signal that its dialogue view should advance.

Fields

Name
Description
​continueAction​
The InputAction that this component is listening for.
The keyboard key that this component is listening for.
An InputActionReference that refers to the action that this component is listening for.
​continueActionType​
The type of input that this component is listening for.
​dialogueView​
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.

Properties

Name
Description
​Action​
Gets the InputAction configured by this DialogueAdvanceInput .
Export as PDF
Copy link
Edit on GitHub
On this page
Summary
Remarks
Enums
Fields
Properties