AsyncLineView

Class in Yarn.Unity

Inherits from AsyncDialogueViewBase

Summary

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

public class AsyncLineView : AsyncDialogueViewBase

Fields

Name
Description

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 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.

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.

Methods

Name
Description

Presents a line using the configured text view.

Last updated

Was this helpful?