> 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/3.1/api/csharp/yarn.unity/yarn.unity.lettertypewriter.md).

# LetterTypewriter

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

Inherits from `System.Object`

## Summary

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

```csharp
public class LetterTypewriter : IAsyncTypewriter
```

## Methods

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

## Properties

| Name                                                                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ActionMarkupHandlers](/3.1/api/csharp/yarn.unity/yarn.unity.lettertypewriter/yarn.unity.lettertypewriter.actionmarkuphandlers.md) | A collection of [IActionMarkupHandler](/3.1/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)](/3.1/api/csharp/yarn.unity/yarn.unity.lettertypewriter/yarn.unity.lettertypewriter.runtypewriter.md) , depending upon the contents of a line. |
| [CharactersPerSecond](/3.1/api/csharp/yarn.unity/yarn.unity.lettertypewriter/yarn.unity.lettertypewriter.characterspersecond.md)   | The number of characters per second to deliver.                                                                                                                                                                                                                                                                                                                                              |
| [Text](/3.1/api/csharp/yarn.unity/yarn.unity.lettertypewriter/yarn.unity.lettertypewriter.text.md)                                 | The `TMPro.TMP_Text` to display the text in.                                                                                                                                                                                                                                                                                                                                                 |
