Page 1 of 1

How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

Posted: Wed Mar 30, 2022 9:48 am
by dfernand
How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

It's a noob question and I'm pushed for time (sorry) and I can't figure it out quick enough. I've Gone to the Dialogue system 'Welcome' GUI and clicked on "TextMesh Pro (TMP_PRESENT)", I've put a #define in the C# code for TMP_Present, I've re-imported all assets in my Unity project, I've also loaded the actual TextMeshPro asset into the scene but I dunno who to get Dialogue showing with TextMesh Pro fonts (only Normal). Anyone tell me how to do that ?

I've looked at the TextMeshPro Support section in the Dialgoue System help but I must have missed something .. https://www.pixelcrushers.com/dialogue_ ... ProSupport

The button just can only show normal text .. (see bubble dialogue screenshot blow), strangely for the 'PC Name' part of the Bubble Template UI component it does have a TextMeshPro slot which does work but I also want TextMeshPro fonts for the actual dialogue !! please advise ... !!

There should be some screen shots below of the simple project ... two cubes, one Batman, the other Joker just having a Bubble template conversation showing 'some of' the the settings for the Bubble Template Standard UI and Response Button also (showing normal text slot only not TextMeshPro...)....

thanks in advance

https://ibb.co/26VYpBF
https://ibb.co/T4YL5yW
https://ibb.co/8rC4HN8

Re: How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

Posted: Wed Mar 30, 2022 1:04 pm
by Tony Li
Hi,

You only need to do these steps:

1. Tick the Welcome Window's TMP_PRESENT checkbox. No need to manually add Scripting Define Symbols.

2. Unassign the Standard UI Response Button component's Label field. When it's unassigned, it will show slots for UI Text or TextMesh Pro.

3. Add your TextMeshProUGUI component and assign it to the TextMesh Pro slot.

Re: How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

Posted: Wed Mar 30, 2022 6:24 pm
by dfernand
many thanks, that was easy.

Re: How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

Posted: Wed Mar 30, 2022 6:24 pm
by dfernand
many thanks, that was easy.

Re: How to get dialogue showing as TextMesh on a Response Button of a Bubble Standard Menu UI template ?

Posted: Wed Mar 30, 2022 6:43 pm
by Tony Li
Happy to help!