public void OnThis() { string myText = GetComponentInChildren <Text>().text; inputPanel.OnInput(myText); }