Now we have the basic gameplay in, but the player doesn't know how well they're doing to do that, we will.
- Go to GameObject | UI | Text. Double-click on the
Canvasobject in order to see it and how the text looks compared to it.
- Then, select the
Textobject and then from the Anchors Presets menu, hold down Alt+Shift and select the top-center option by clicking on it. Change the name of the object to
- Select the
Score Textobject and change the Rect Transform component's Height to
50. Under the Text component, change the Text property to
0and change the Alignment to center horizontally. Then, change the Font Size to
40. I then changed the text color to a darker blue (If you want to use exactly what I did, you can click on ...