The inventory module covers item storage, pickup, drop, hand/equip visuals, and basic UI binding.
InventoryComponentmanages entries, counts, save/load integration, and inventory events.PickableItemturns a world object into a pickup source.InventoryDropperspawns dropped world items from inventory entries.InventoryHandvisualizes the currently selected item in hand.InventoryViewand related UI helpers bind inventory data to UI.
- Add
InventoryComponentto the target object. - Assign an
InventoryDatabaseif you want item metadata and validation. - Add
PickableItemto world drops and point it to an inventory, or use collector inventory resolution. - Add
InventoryDropperif items should return to the world. - Bind counts and views with
InventoryView,InventoryItemCountText, orInventoryTotalCountText.
| Page | Description |
|---|---|
| InventoryComponent | Facade summary + pointer to mechanics sections |
| InventorySlotGridView | Slot UI + click transfer |
| InventoryItemState | Instance state capture/restore |
| Page | Description |
|---|---|
| Inventory README | Overview + mechanics index |
| InventoryComponent, PickableItem, InventoryDropper | Core runtime |
| InventorySlotGridView, InventoryItemState | Slot UI + instance payload |
| InventoryView, InventoryHand, HandView | UI and hand view |
| InventoryItemCountText, InventoryTotalCountText | Count display |