Text Animator for Unity
More ToolsTutorialsDiscord✨ Get Text Animator ✨
1.X 🇬🇧
1.X 🇬🇧
  • Installing and quick start
  • Effects
    • How to add effects to your texts
    • Built In Effects List
    • Creating effects in the inspector
  • Typewriter
    • Text Animator Players
    • Triggering Events While Typing
    • Performing Actions While Typing
    • Text Animator Players Sound
  • Extra Customization
    • Writing Custom Effects C#
    • Writing Custom Actions C#
    • Writing Custom TAnimPlayers (C#)
  • Integrations
    • Integrated Plugins & Dialogue Systems
    • How to manually integrate Text Animator
  • Info
    • Support
    • Changelog
Powered by GitBook
On this page
  • How to add actions in your text
  • Built-in Actions
  1. Typewriter

Performing Actions While Typing

PreviousTriggering Events While TypingNextText Animator Players Sound

Last updated 7 months ago

You're reading the documentation of an older/legacy version, Text Animator 1.X. To read the latest version, please visit this page instead . How to update:


You can perform actions once the typewriter reaches a specific position in the text. (For this reason, actions work only if the typewriter is enabled)

Example: waiting for X seconds or waiting for the player input.


How to add actions in your text

You can add actions to your text by using rich text tags.

Actions' formatting follows this formula: "<actionID>" or "<actionID=attribute1,attribute2,...>" for eventual parameters/attributes.

⚠️ Actions are case sensitive, <waitfor> and <waitFor> will produce different results.

Attributes

Actions support multiple attributes, after the '=' sign and all separated by a comma.

Example: <waitfor=1.5> or <playaudio=tada,laugh,dub>

(As you can see, the attributes formatting is slightly different from the effects' modifiers, since actions do not have attributesIDs).

  • ⚠️ Floating point numbers must use a period, not a comma.

    • ✔️ <speed=0.5>

    • ❌ <speed=0,5>


You can use built-in actions or create your own. (Read more here (C#))

Built-in Actions

You can use the following built-in actions in your text.

2.X 🇬🇧
Upgrading from 1.X to 2.X