🧿 Inventory & Shop System in Unity

🎮 Overview

This is a Unity-based 2D project that features a fully functional Inventory and Shop System. The system supports:

  • Item gathering with increasing rarity
  • Buying and selling via drag-and-drop with confirmation popups
  • Weight management and gold currency
  • UI-based interactivity with clean transitions and feedback
  • Modular and extensible architecture

Github Link: https://github.com/Chintan-Patel-Games/Inventory-System

🧰 Features

  • Inventory panel with slot-based item handling
  • Shop panel for transactions
  • Confirmation & quantity selection UI
  • Tooltip system
  • Gold and weight system
  • Raycast blocker for modal behavior
  • Toast and popup messages
  • Sound and BGM system

🧩 Design Patterns & Principles Used

Pattern/PrincipleUsage Location
Singleton SoundManager for global sound access
Observer UI event subscriptions (e.g. OnHideOnConfirmPopup)
ScriptableObject ItemData for flexible item definition
Separation of Concerns UIManagerShopControllerInventoryManager handle distinct responsibilities
Event-Driven Design Popup confirmations and transaction callbacks
Dependency Injection (Manual) UI references injected via Inspector instead of hard references
Open/Closed Principle Systems like ItemDataTooltipUI are extensible
DRY Principle Shared methods for UI blocking, messaging, popup control
Updated 2 days ago
StatusReleased
PlatformsHTML5
AuthorChintan Patel
Made withUnity
Average sessionA few seconds
LinksYouTube, GitHub

Leave a comment

Log in with itch.io to leave a comment.