LineView

Class in Yarn.Unity

Inherits from DialogueViewBase

Summary

A Dialogue View that presents lines of dialogue, using Unity UI elements.

public class LineView : DialogueViewBase

Methods

Name
Description

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 the view should dismiss its current line from display, and clean up.

Creates a stack of typewriter pauses to use to temporarily halt the typewriter effect.

Called by the DialogueRunner 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 Yarn.Unity.LineView.continueButton is clicked.

Applies the palette to the line based on it's markup.

Called by the DialogueRunner to signal that a line should be displayed to the user.

Called by DialogueAdvanceInput to signal that the user has requested that the dialogue advance.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.