Dialogue System for Unity

Read how to integrate Dialogue System for Unity with Text Animator for Unity. Enjoy!

Dialogue System for Unity is a branching conversation system for Unity. It requires no scripting yet is designed to be easily extended by programmers, and has been used in games like Disco Elysium, Yes Your Grace Snowfall and many more.

Get Dialogue System for Unity (affiliate link)


Integration Steps

circle-info

We have tested Text Animator 3.X with Dialogue System for Unity version 2.2.64.1

It should work with all versions within Dialogue System 2.X, but if you notice that some breaking changes were introduced - please let us know!

All integration steps are written both here and in the PixelCrushers' documentation.

You can learn both via a short video or through the text guide below.

Video Guide

Text Guide

1

Project Setup

Step 1. Make sure TextMeshPro is enabled in Dialogue System for Unity

(Text Animator uses TMPro or UI Toolkit, so you can choose the one you prefer the most and the setup is similar for both)

Step 2. Import the "Text Animator V3" support package from Dialogue System -> Third Party support.

2

Text Setup

For every text element of your Dialogue Prefab that you want to animate (e.g. NPC Subtitle):

  • Ensure the base text component is TextMeshPro (and make sure to re-link any broken references in the UI panel).

  • Add a Text Animator component to the same text GameObject.

  • Add a the Typewriter component (if you want to use the typewriter).

3

Replace the Standard UI Subtitle Panel

Replace the Standard UI Subtitle Panel with Text Animator Subtitle Panel and make sure all references are up to date.

circle-info

Instead of manually deleting and re-adding components (which can break existing references), you could use the Debug Mode (top right dots in the inspector) to swap scripts more easily.

4

Replace the Continue Button

Replace the Standard UI Continue Cutton with the one designed specifically for Text Animator by PixelCrushers, called Text Animator Continue Button Fast Forward.

Also ensure the Typewriter component is correctly linked in the inspector.


Enjoy! Have a look at How to add effects and Show and hide letters dynamically to quick start adding more effects to your dialogues.

circle-info

Please let us know if it's working how you expected and/or if you'd like any new feature or improvement!! Cheers!