Use Text Mesh Pro in Response Menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
michaelheiml
Posts: 46
Joined: Thu Nov 08, 2018 5:47 am

Use Text Mesh Pro in Response Menu

Post by michaelheiml »

Hi Tony,

I do not find a way to use TMP with the response menu (response button template). I have activated TMP support.
Adding UnityUIResponseButton instead of StandardUIResponseButton still does not allow to link the TMP component to the "Label" field + this also would lead to a type mismatch in "Button Template" field on StandardUIMenuPanel (there also is no UnityUIMenuPanel).

So could you please help me, how can I use TMP in Response Buttons? (I only use TMP for everything, so this question might pop up again in a slightly different manner, e.g. with Barks or QTEs - just an assumption).

Thanks, Michael
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use Text Mesh Pro in Response Menu

Post by Tony Li »

Hi,

Use a StandardUIResponseButton. Assign a TextMeshProUGUI the same way you would for subtitle text:

tmpResponseButton.png
tmpResponseButton.png (73.3 KiB) Viewed 408 times
michaelheiml
Posts: 46
Joined: Thu Nov 08, 2018 5:47 am

Re: Use Text Mesh Pro in Response Menu

Post by michaelheiml »

Aaaahh.. thanks. If everything was so easy ;)
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use Text Mesh Pro in Response Menu

Post by Tony Li »

Glad to help! :-)
Post Reply