Question : get component text mesh pro
Answered by : cruel-caribou
GetComponent<TMPro.TextMeshProUGUI>().text
Source : https://forum.unity.com/threads/changing-textmeshpro-text-from-ui-via-script.462250/ | Last Update : Fri, 29 May 20
Question : unity change tmp text from script
Answered by : shy-stag-v9485nf5neip
using UnityEngine.UI;
using TMPro;
void Update()
{ TextMeshPro lemonsss = GetComponent<TextMeshPro>();
}
Source : | Last Update : Tue, 11 Aug 20