Combining Dialogue System with Text Animator Pro

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
PaperJord
Posts: 2
Joined: Fri Jun 04, 2021 9:33 pm

Combining Dialogue System with Text Animator Pro

Post by PaperJord »

Hi there! First wanted to say that I love this asset, but I'm running into problems trying to integrate it with Text Animator Pro. From the documentation here and on the other dev's website it seems like it should be simple, but it's been a bit tough for someone fairly new to unity.

What I've done so far is tick the box for TextMeshPro support, download and import TextMeshPro, replace the text component on the subtitle text object to a TextMeshPro - Text (UI) component, and add the TextAnimator and TextAnimatorPlayer components to the subtitle text object.

The problem is that the conversation I created is not showing either in the game or scene view, nor in the TextMeshPro - Text (UI) box in the inspector. I noticed that it did show in the inspector when it was a text component, but for some reason, is not linking with the text mesh pro component. When I type in the text mesh pro component when the game is running the dialogue I'm currently typing shows up, so I feel like I'm pretty close.

If it helps, I'm using the JRPG template, and the version of the dialogue system is 2.2.16. Thanks!
User avatar
Tony Li
Posts: 22032
Joined: Thu Jul 18, 2013 1:27 pm

Re: Combining Dialogue System with Text Animator Pro

Post by Tony Li »

Hi,

It sounds like you may need to assign the Subtitle Text GameObject's TextMeshPro - Text (UI) component to the subtitle panels:
assignTMP.png
assignTMP.png (72.28 KiB) Viewed 128 times

If that doesn't do the trick, please let me know if there are any warnings or errors in the Console window when you try to play a conversation.
PaperJord
Posts: 2
Joined: Fri Jun 04, 2021 9:33 pm

Re: Combining Dialogue System with Text Animator Pro

Post by PaperJord »

That did it! Thanks so much!
User avatar
Tony Li
Posts: 22032
Joined: Thu Jul 18, 2013 1:27 pm

Re: Combining Dialogue System with Text Animator Pro

Post by Tony Li »

Happy to help!
Post Reply