Page 1 of 1

Using TextMeshPro

Posted: Thu May 21, 2020 5:22 pm
by joep259
Hey, im new to Quest Machine so this may be a stupid question but is there me a way to use TMPro with it.

Thanks :)

Re: Using TextMeshPro

Posted: Thu May 21, 2020 8:39 pm
by Tony Li
Hi,

Yes. Select menu item Edit > Project Settings > Player. In the Scripting Define Symbols field, add:

Code: Select all

TMP_PRESENT
Then you can assign TextMeshProUGUI elements to any of the text fields in Quest Machine's UIs. To expose the TextMeshProUGUI slot, unassign the UI Text element from its slot. This will reveal two empty slots: one for UI Text, another for TextMeshProUGUI. Once you assign one slot, the other disappears.