How to enable TMP on Text Table?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
DryreL
Posts: 29
Joined: Sat Dec 26, 2020 1:58 pm

How to enable TMP on Text Table?

Post by DryreL »

Hi,

I cannot drag the TMP Text to Localizate UI's Text Table. Normal Text works tho, what should I do?
image_2021-10-04_013451.png
image_2021-10-04_013451.png (8 KiB) Viewed 434 times
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to enable TMP on Text Table?

Post by Tony Li »

Make sure you've enabled TextMesh Pro support (Welcome Window > TMP_PRESENT checkbox).

If TextMesh Pro support is on, then it should localize.

Note: LocalizeUI only checks for TextMeshProUGUI components. In the next release, it will also check for non-UI TextMeshPro components.
User avatar
DryreL
Posts: 29
Joined: Sat Dec 26, 2020 1:58 pm

Re: How to enable TMP on Text Table?

Post by DryreL »

Hi,

Thanks it worked.

I have one more question. Can I use multiple text tables (main menu, UI menu, inventory menu etc..) or only one?
Attachments
image_2021-10-04_022933.png
image_2021-10-04_022933.png (17.84 KiB) Viewed 431 times
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to enable TMP on Text Table?

Post by Tony Li »

You can use multiple text tables by assigning them directly to the LocalizeUI components. If no text table is assigned to a LocalizeUI component, it will use the text table that's assigned to the Dialogue Manager's Localization Settings.
User avatar
DryreL
Posts: 29
Joined: Sat Dec 26, 2020 1:58 pm

Re: How to enable TMP on Text Table?

Post by DryreL »

Okay thanks!
Post Reply