本文共 205 字,大约阅读时间需要 1 分钟。
GameObject t = GameObject.Find("InputFieldT");
Text tt = t.transform.Find("Text").GetComponent<Text>();
tt.text = "ComputeButton_Click";//无效
//t.GetComponent<InputField>().text = "ComputeButton_Click";//有效
转载地址:http://tnerj.baihongyu.com/