Skip to content

Ben-Scr/InventorySystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory System

An inventory system built with Unity 6.0 in C#. It includes bar slots, backpack slots, drag-and-drop, and stack handling.

Preview

Preview 1 Preview 2

Features

  • Bar and backpack slot layout.
  • Item stacking with max stack size rules.
  • Split stack with right click.
  • Scroll wheel bar selection.
  • Drag-and-drop between compatible slots.
  • Quick move and combine input actions.
  • ScriptableObject-based item data.
  • Generic object pool for runtime UI items.
  • Easily extendable for features such as chest slots.

Notes

  • Slot compatibility uses flags (SlotType vs ItemType).
  • Item definitions are data-driven through ScriptableObjects.
  • Pooling helps avoid frequent instantiate/destroy calls for UI items.

About

C# Unity Inventory System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages