Unity TextMeshPro component c# set text

using TMPro;

public TextMeshProUGUI Text;

//Text = transform.GetComponent<TextMeshProUGUI>();

Text.text = "test";

おすすめ

転載: blog.csdn.net/qq_21743659/article/details/130709776