InstantTypewriter
Class in Yarn.Unity
Inherits from System.Object
Summary
An implementation of IAsyncTypewriter that delivers all content instantly, and invokes any IActionMarkupHandler s along the way as needed.
public class InstantTypewriter : IAsyncTypewriterMethods
| Name | Description |
|---|---|
| ContentWillDismiss() | |
| PrepareForContent(MarkupParseResult) | |
| RunTypewriter(Markup.MarkupParseResult,CancellationToken) | Displays the contents of a line over time. |
Properties
| Name | Description |
|---|---|
| ActionMarkupHandlers | A 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. |
| Text | The TMPro.TMP_Text to display the text in. |