Here, we will make a few buttons, rename them, and assign them to the functions of our LaunchBall class:
- Look at the Hierarchy view and search for the Button child of Canvas:
- Click on the arrow next to the Button object to expand it, and select the child of Button labeled Text:
The Button text object
- Now, take a look in the Inspector at the Text component. Here, we have a wide variety of ways to change the text that is on the button:
- Select the word Button in the Text box. Press the Delete key and type Change Color.