The score board will be a canvas child of ThrowingGame:
- With ThrowingGame selected in the Hierarchy, create a new UI | Canvas, named GameCanvas.
- Set its Render Mode to World Space.
- For its Rect Transform, set Scale to (0.015, 0.015, 0.015).
- And Anchors: Min (0,5, 0.5), Max (0.5, 0.5) and Pivot (0.5, 0.5).
- Then Position (-1, 2.5, 1), Width/Height: (100, 100).
- Set the Canvas Scaler Dynamic Pixels Per Unit to 4, to give the text some higher resolution.
The Canvas gets a child Panel, which in turn gets child Text elements:
- Add a child of GameCanvas, create a UI | Panel, named ScorePanel.
- Set its Rect Transform Left: -40, and Right: 40.
- If you've installed the BallGame assets pack, set its Source Image to Circle (doughnut-icon | Circle).
- And Color to Syracuse orange (#D64816FF).
- Add a UI Outline component (Add Component | UI | Effects | Outline).
- Set its Effect Color to white (#FFFFFFFF).
- Set the Effect Distance to X=2, Y=-2 (border width).
Now, add the text elements for the score title and value:
- Add a child of ScorePanel and create a UI | Text, named ScoreTitle.
- Set its Anchor Presets to Stretch-Stretch (anchor-icon in upper left) to center it, and also Alt+click Stretch-Stretch to set its position (0, 0).
- Scale: (0.75, 0.75, 0.75).
- Use Font Style: Bold, Font Size: 16, Alignment: middle/top, and Color: #FFFFFFFF (white).
- Set its Text to Score.
- Duplicate the ScoreTitle and rename it ScoreValue.
- Change Font Size: 35, and Alignment: middle/center.
- Set its Text to 0.
The resulting score Canvas now looks like this: