Text Animator
Integrating Text Animator with Yarn Spinner 3.
This page gives you the basics of integrating Text Animator with Yarn Spinner for Unity. If you want complete integration, consider purchasing Yarn Spinner for Unity, or build out the integration yourself.
This guide covers the integration of Text Animator with Yarn Spinner 3's default Line Presenter. While we strongly recommend creating custom Dialogue Presenters for precise control over your game's presentation, this guide will help you get the basic integration working quickly.
This guide is written for Text Animator version two, but most of the information here also applies to version three of Text Animator. We also have a paid add-on which has direct support for Text Animator, for both version two and three, and is already pre-configured to work with the default and custom presenters.
For production games, consider developing your own custom presenter to achieve the exact behaviour and appearance your game requires.
Setup
Step 1: Locate the Text Component
Expand the Dialogue System prefab in your hierarchy and navigate to the Text game object within the Line Presenter ( Dialogue System → Canvas → Line Presenter → Text ).

Step 2: Add Text Animator Components
Add the following components to the Text game object:
Add a
TextAnimator_TMPcomponentAdd a
TypewriterByCharactercomponent
Step 3: Configure TextAnimator_TMP
On the TextAnimator_TMP component, ensure that Typewriter Starts Automatically is enabled.
Step 4: Configure the Line Presenter
Select the Line Presenter game object (Dialogue System → Canvas → Line Presenter) and modify the following settings:
Disable
Fade UITypewriter Style
Instant

Step 5: Test the Integration
Run your Yarn script to see the Text Animator effects in action.
Action Markup Compatibility
Due to architectural considerations in our markup system design, Action Markup and Text Animator cannot currently be used together.
Workaround: If you need both Text Animator effects and inline events, use Text Animator's event system to achieve similar functionality.
This limitation is resolved in the Text Animator paid add-on.
Line Advancement Behaviour
When using Text Animator, the Line Advancer can detect when a line has finished displaying but has not been dismissed via action markup. This changes the default "quick advance" behavior where rapidly pressing the advance button would skip the line entirely.
To restore quick-skip functionality:
Enable Multi Advance is Cancel on the Line Advancer component
Set Advance Count to
2
This configuration allows players to press the advance button twice in quick succession to skip the current line, similar to the original behavior.
This page gives you the basics of integrating Text Animator with Yarn Spinner for Unity. If you want complete integration, consider purchasing Yarn Spinner for Unity.
Last updated
Was this helpful?
