Text Animator for Unity
More ToolsTutorialsDiscord✨ Get Text Animator ✨
2.X 🇬🇧
2.X 🇬🇧
  • ❤️Welcome
    • Text Animator for Unity
    • Features
    • Games Showcase
    • Quick Start
  • ✨effects
    • Add effects to your texts
      • Modifiers
      • Styles
      • Databases
    • Preview and Edit effects
      • Dynamic Scaling
      • Time Scale
    • Built-in effects list
    • Create your own effects
      • Create effects in the Inspector
        • Curve Effects
        • Composite Effects
      • Writing Custom Effects (C#)
  • ✏️typewriter
    • Show and hide letters dynamically
    • Play sounds when a letter is shown
    • Trigger Events when typing
    • Wait Actions when typing
  • 🤝Integrations
    • Integrated Plugins & Dialogues Systems
      • Dialogue System for Unity
      • Yarn Spinner
      • Ink
      • Game Creator 2
      • Unity Localization Package
      • Playmaker
      • Unity Visual Scripting
      • Naninovel
    • How to manually integrate Text Animator
  • Extra Customization via C#
    • Writing Custom Typewriters (C#)
    • Writing Custom Actions (C#)
  • Other
    • Best Practices
    • Requirements & Limitations
    • Frequently Asked Questions
    • Support
    • Changelog
      • 2.X
      • Upgrading from 1.X to 2.X
      • 1.X
    • Scripting API
Powered by GitBook
On this page
  • How to add actions in your text
  • Databases
  • Built-in Actions
  1. typewriter

Wait Actions when typing

PreviousTrigger Events when typingNextIntegrated Plugins & Dialogues Systems

Last updated 5 months ago

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 (just like events/messages).

Actions tags are case insensitive, <waitfor> and <waitFor> will produce the same results.

Parameters

Actions support multiple parameters, after the ‘=’ sign and all separated by a comma.

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

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

    • ✔️ <speed=0.5>

    • ❌ <speed=0,5>


Databases

As with Effects, you’ll find Actions stored inside their databases. You can add and remove as many as you prefer, create specific ones and also .

Built-in Actions

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

Remember that you can also skip the typewriter inside specific parts of the text by using the "<notype>" tag, read more here:

✏️

Wait for Seconds

  • tag: waitfor

  • description: Waits for X seconds before continuing to show the text.

  • attributes: float (wait duration)

  • usage_example: waitfor=1.5

Wait for Input

  • tag: waitinput

  • description: Waits for the player input"

  • usage_example: waitinput

Speed

  • tag: speed

  • description: Multiplies the typewriter speed

  • attributes: float (speed multiplier)

  • usage_example: speed=2

program your own via C#
Skip Specific Parts of the Text