Coins coins and more coins! Collectables in Unity.

What is a platformer without collectables? You always need collectibles and I made some right here.

Not the prettiest but hey we are in the prototyping phase!

Each coin has a simple OnTriggerEnter script that calls on a method in the Player script.

This is all similar to the points logic from the 2D space shooter I made and the method in the Player adds coins to the count and updates the coin counter text in the UIManager. Simple and it works.

See you next post!

--

--

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