How To Change Text Using TextMeshPro (Unity)

preview_player
Показать описание
Please go to the pastebin as I can't put angle bracket here in the description. Ask youtube why.

Keep in mind that this is a very simple code. You can extend it later.
Рекомендации по теме
Комментарии
Автор

thank you, after one day and one our I find the metod to do this

danielegaming
Автор

How do I properly scale text mesh pro with the parent? When I try all the characters just look like square blocks.

freecode.ai-
Автор

The code is in the description but you can also get it from below:


TextMeshProUGUI textmeshPro =
textmeshPro.SetText("Hi");

tworivertown
Автор

i keep getting this error even though i copied everything:

NullReferenceException: Object reference not set to an instance of an object
CounterScript.Update () (at Assets/CounterScript.cs:16)

Any help?

Hirannagar
visit shbcf.ru