Using TextMeshPro

Announcements, support questions, and discussion for Quest Machine.
Post Reply
joep259
Posts: 1
Joined: Thu May 21, 2020 5:19 pm

Using TextMeshPro

Post 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 :)
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using TextMeshPro

Post 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.
Post Reply