> 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.lettertypewriter.md).

# LetterTypewriter

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 characters 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 LetterTypewriter : IAsyncTypewriter
```

## Methods

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

## Properties

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