> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.wordtypewriter.md).

# WordTypewriter

Class in [Yarn.Unity](/api/csharp/yarn.unity.md)

Inherits from `System.Object`

## Summary

An implementation of [IAsyncTypewriter](/api/csharp/yarn.unity/yarn.unity.iasynctypewriter.md) that delivers words one at a time, and invokes any [IActionMarkupHandler](/api/csharp/yarn.unity/yarn.unity.iactionmarkuphandler.md) s along the way as needed.

```csharp
public class WordTypewriter : IAsyncTypewriter
```

## Methods

| Name                                                                                                                                                     | Description                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [ContentDidDismiss()](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.contentdiddismiss.md)                                   |                                            |
| [ContentWillDismiss()](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.contentwilldismiss.md)                                 |                                            |
| [PrepareForContent(Markup.MarkupParseResult)](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.prepareforcontent.md)           |                                            |
| [RunTypewriter(Markup.MarkupParseResult,CancellationToken)](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.runtypewriter.md) | Displays the contents of a line over time. |

## Properties

| Name                                                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ActionMarkupHandlers](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.actionmarkuphandlers.md) | A collection of [IActionMarkupHandler](/api/csharp/yarn.unity/yarn.unity.iactionmarkuphandler.md) objects that should be invoked as needed during the typewriter's delivery in [RunTypewriter(Markup.MarkupParseResult,CancellationToken)](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.runtypewriter.md) , depending upon the contents of a line. |
| [TextElement](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.textelement.md)                   | The `TMPro.TMP_Text` to display the text in.                                                                                                                                                                                                                                                                                                                                     |
| [WordsPerSecond](/api/csharp/yarn.unity/yarn.unity.wordtypewriter/yarn.unity.wordtypewriter.wordspersecond.md)             | The number of words per second to deliver.                                                                                                                                                                                                                                                                                                                                       |
