change tmp text unity code example
Example: unity change tmp text from script
using UnityEngine.UI;
using TMPro;
void Update()
{
TextMeshPro lemonsss = GetComponent<TextMeshPro>();
}
using UnityEngine.UI;
using TMPro;
void Update()
{
TextMeshPro lemonsss = GetComponent<TextMeshPro>();
}