GameObject t = GameObject.Find("InputFieldT");
Text tt = t.transform.Find("Text").GetComponent<Text>();
tt.text = "ComputeButton_Click";//无效
//t.GetComponent<InputField>().text = "ComputeButton_Click";//有效
GameObject t = GameObject.Find("InputFieldT");
Text tt = t.transform.Find("Text").GetComponent<Text>();
tt.text = "ComputeButton_Click";//无效
//t.GetComponent<InputField>().text = "ComputeButton_Click";//有效