Can't drop equipment into slots

I’m trying to integrate the inventory system with my current project. I’m able to pick up a weapon and it goes into my inventory. I can move the weapon between slots in my inventory. I, however, cannot place the weapon into my weapon slot. When releasing the weapon over my equipment slot it get’s dropped instead. Any ideas what could be causing this? It seems I have all of the scripts attached everywhere when comparing to the Inventory.unitypackage.

Is your WeaponConfig class inheriting from EquipableItem?
Is the weapon slot on the item set to Weapon?
Is the slot on the Equipment set to Weapon? (Not just the weapon icon, make sure the slot is set as well).

Privacy & Terms