How to Set Up a Simple Drop-Loot System in Unity
Few lines of code from my 2D project, but the logic can be abstracted

Objective: set up a drop and loot system, along with a simple basic inventory
To start setting up this kind of game mechanics we should put down some design. We need:
- At least one droppable item, with a script for…