📜  textmesh pro 的命名空间是什么 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:41.399000             🧑  作者: Mango

代码示例1
using TMPro; //This namespace allows you to use TMP related actions

public GameObject GameObject //Second word is variable type
//Make sure you make a ref. in inspector   //You can name the 3rd word whatever
  
GameObject.GetComponent().text = "Whatever";
                  //above is the special TMPro name space