unity UI not able to alter textmesh pro text using code code example
Example 1: unity change tmp text from script
using UnityEngine.UI;
using TMPro;
void Update()
{
TextMeshPro lemonsss = GetComponent<TextMeshPro>();
}
Example 2: unity get textmesh pro component
GetComponent<TMPro.TextMeshProUGUI>().text