My journey becoming a Unity game developer: 2.5D Infinite Runner-Coin Collection and Display

Player able to collect coins with a tally onscreen.
Collectable object turned into a prefab.
Renamed the Collectable objects to Coin.
Canvas created for the Coin text onscreen.
Canvas set to Scale with Screen Size.
Set the Coin text position to the bottom left-corner through the Anchor Presets setting.
Coin text alignment set to the middle in the text field and color changed to white.
Changed the text field’s height to a larger size through the Rect Transform and Font Size changed to be bigger as well.
Positioned the Coin text field using the Rect Transform’s X and Y-axis, and changed the Horizontal and Vertical Overflow to Overflow.
UI Manager created to update the coin text onscreen.
AddCoins method created to add a coin every time the player collects one.
When the player collides with the coin, the player’s coin tally will increase onscreen.
Coins collected by the player.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store