unity set buton text code example
Example: unity how to change the text on a button
GameObject.Find("Button Name").GetComponentInChildren<Text>().text = "Button Text";
GameObject.Find("Button Name").GetComponentInChildren<Text>().text = "Button Text";