Unity2D DevLog 04 — UI Ammo Counter

Last time, I shared an article on how I improved my shield powerup. It’s now time to work on an ammo counter. Infinite firepower is a feature of some games, but I want to include some limitations.

Objective:

Create a replenishable ammunition system for the player. Include a way to display ammo information on the UI.

How I went about it: