void OnMouseDown() { GameObject.Find("Button Name").GetComponentInChildren<Text>().text = "Button Text"; }