In the Assets folder, right-click > Create > Folder, name it "Gradient"
Right-click in the folder > Create > TextMeshPro > Color Gradient, name it "Yellow-Gold", in the inspector window:
- Select the "Four Corners Gradient"
- For the colors copy the following color codes:
- Top Left and Top Right: #FADA00FF
- Bottom Left and Bottom Right: #D16E03FF
Right-click on the Hierarchy window > UI > Canvas
Right-click on the Canvas > UI > Text - TextMeshPro
Click on Import TMP Essentials on the TMP Importer window,
Right-click on the "Text (TMP)", name it "Display", in the Inspector window:
- Change the PosX to -640, PosY to 330
- Change the "New Text" to "Score:"
- Check the Bold button in the Font Style
- Check Color Gradient and drag the "Yellow-Gold" color gradient into the placeholder
- Check the Underlay box at the bottom
- Click on "Click to expand" and change the Offset X to 1, Offset Y to -1, Softness to 0.6
(In the Game tab, the text might not appear in the position shown in the video, that is due to a different resolution screen, the final build of the game is going to be the same)