0
Q:

unity change tmp text from script

Text myText = GameObject.Find("Canvas/Text").GetComponent<Text>();
myText.text = "Your text changed!";
-2
using UnityEngine.UI;
using TMPro;

void Update()
{
    TextMeshPro lemonsss = GetComponent<TextMeshPro>();
}
1
GetComponent<TMPro.TextMeshProUGUI>().text
3

New to Communities?

Join the community