change text on button unity 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";