LineView
Last updated
Was this helpful?
Last updated
Was this helpful?
Class in
Inherits from
This class is obsolete and may be removed from a future version of Yarn Spinner.
A Dialogue View that presents lines of dialogue, using Unity UI elements.
Controls whether this Line View will wait for user input before indicating that it has finished presenting a line.
The canvas group that contains the UI elements used by this Line View.
The TMPro.TextMeshProUGUI
object that displays the character names found in dialogue lines.
The game object 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 in.
The time that the fade effect will take to fade lines out.
The amount of time to wait after any line
The TMPro.TextMeshProUGUI
object that displays the text of dialogue lines.
A Unity Event that is called each time a character is revealed during a typewriter effect.
A Unity Event that is called when a pause inside of the typewriter effect finishes and the typewriter has started once again.
A Unity Event that is called when a pause inside of the typewriter effect occurs.
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.
Inserts TextMeshPro line break markup in a line where Yarn line break attributes appear.
Applies the palette
to the line based on it's markup.
The gameobject that holds the textfield.
Controls whether the object will show the character name present in the line or not.
Controls whether the text of should be gradually revealed over time.
Called by the to signal that the dialogue has ended, and no more lines will be delivered.
Called by the to signal that the view should dismiss its current line from display, and clean up.
Called by the to signal that a line has been interrupted, and that the Dialogue View should finish presenting its line as quickly as possible.
Called when the is clicked.
Called by the to signal that a line should be displayed to the user.
Called by to signal that the user has requested that the dialogue advance.