WordTypewriter

Class in Yarn.Unity

Inherits from System.Object

Summary

An implementation of IAsyncTypewriter that delivers words one at a time, and invokes any IActionMarkupHandler s along the way as needed.

public class WordTypewriter : IAsyncTypewriter

Methods

Properties

NameDescription
ActionMarkupHandlersA collection of IActionMarkupHandler objects that should be invoked as needed during the typewriter’s delivery in RunTypewriter(Markup.MarkupParseResult,CancellationToken) , depending upon the contents of a line.
TextThe TMPro.TMP_Text to display the text in.
WordsPerSecondThe number of words per second to deliver.