AsyncLineView
Class in Yarn.Unity
Inherits from AsyncDialogueViewBase
Summary
A Dialogue View that presents lines of dialogue, using Unity UI elements.
Fields
Controls whether this Line View will automatically to the Dialogue Runner that the line is complete as soon as the line has finished appearing.
The amount of time after the line finishes appearing before automatically ending the line, in seconds.
The canvas group that contains the UI elements used by this Line View.
The game object that holds the characterNameText text field.
The TMPro.TMP_Text
object that displays the character names found in dialogue lines.
The UnityEngine.UI.Button
that represents an on-screen button that the user can click to continue to the next piece of dialogue.
The time that the fade effect will take to fade lines out.
The time that the fade effect will take to fade lines in.
The TMPro.TMP_Text
object that displays the text of dialogue lines.
A Unity Event that is called each time a character is revealed during a typewriter effect.
Controls whether the lineText object will show the character name present in the line or not.
A list of TemporalMarkupHandler objects that will be used to handle markers in the line.
The number of characters per second that should appear during a typewriter effect.
Controls whether the line view should fade in when lines appear, and fade out when lines disappear.
Controls whether the text of lineText should be gradually revealed over time.
Methods
Called by the DialogueRunner to signal that the dialogue has ended, and no more lines will be delivered.
Called by the DialogueRunner to signal that dialogue has started.
Presents a line using the configured text view.
Called by the DialogueRunner to signal that a set of options should be displayed to the user.
Last updated