设置TextMeshPro的text
public GameObject tmp;
// Start is called before the first frame update
void Start()
{
tmp.GetComponent<TMP_Text>().text = "hahah";
}
public GameObject tmp;
// Start is called before the first frame update
void Start()
{
tmp.GetComponent<TMP_Text>().text = "hahah";
}