How to use Text Mesh Pro in Subtitles Text?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
crusenho
Posts: 12
Joined: Sun Nov 21, 2021 3:56 am
Location: Indonesia
Contact:

How to use Text Mesh Pro in Subtitles Text?

Post by crusenho »

Hi, I am having an issue with the typewriter effect gone whenever I use the Text Mesh Pro component in Subtitle Text under Text Panel.

Initially, the normal Text component I deleted first, and then I add a new component (TextMeshPro - Text (UI)), when I test out, the typewriting effect is gone and changed to display the whole line straight away instead.

I have tried to put the Subtitles Text game object which is the TextMeshPro component inside, into each of Subtitle Panel 0,1,2 under component Standard UI Subtitle Panel. But nothing changed, the effect was just simply gone after I deleted the Text component and add TextMeshPro - Text(UI).

I have tried for Response Text and it works but not for Subtitles Text, Is it because the Unity UI Typewriter Effect script component broke after I deleted the Text component? or is there any way to solve this problem? or is it possible to use TextMeshPro for Subtitles Text? Please help :|
Regards,
Crusenho Agus Hennihuno
Indie Developer
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to use Text Mesh Pro in Subtitles Text?

Post by Tony Li »

Hi,

Yes, you can use TextMesh Pro for subtitle text. See TextMesh Pro Support. After you have switched to TextMesh Pro, remove the UnityUITypewriterEffect and add a TextMeshProTypewriterEffect.
User avatar
crusenho
Posts: 12
Joined: Sun Nov 21, 2021 3:56 am
Location: Indonesia
Contact:

Re: How to use Text Mesh Pro in Subtitles Text?

Post by crusenho »

Tony Li wrote: Mon Nov 22, 2021 11:01 am Hi,

Yes, you can use TextMesh Pro for subtitle text. See TextMesh Pro Support. After you have switched to TextMesh Pro, remove the UnityUITypewriterEffect and add a TextMeshProTypewriterEffect.
Thank you so much for helping, I will take a look and try it :D
Regards,
Crusenho Agus Hennihuno
Indie Developer
Post Reply