Page 1 of 1

Use Text Mesh Pro in Response Menu

Posted: Thu Dec 02, 2021 7:10 am
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

Re: Use Text Mesh Pro in Response Menu

Posted: Thu Dec 02, 2021 8:08 am
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 409 times

Re: Use Text Mesh Pro in Response Menu

Posted: Thu Dec 02, 2021 8:40 am
by michaelheiml
Aaaahh.. thanks. If everything was so easy ;)

Re: Use Text Mesh Pro in Response Menu

Posted: Thu Dec 02, 2021 8:46 am
by Tony Li
Glad to help! :-)