In this video we add further logic to our ammo system. We add a capacity limit to each weapon and disable reloading whilst the weapon’s capacity is full. We also add a basic inventory system, and a new item type called “Box Of Ammo”. Additionally, we create classifications of ammo using Enums. Syncing our weapons with their respective ammo types. Lastly we enable reloading to draw from the respective ammo types we have in our inventory, and update our UI accordingly.
Sebastian Graves