What is it?
InventoryPlus is an intuitive and powerful tool that simplifies the creation of custom inventories, chests and pickups. The asset is designed primarely for mouse and keyboard but supports gamepads as well (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.2s8eyo1). InventoryPlus takes care for you of all the inventory operations you can think of (like use, equip, sort, drop etc...)
It works on 3D, 2.5D and 2D games by tweaking the collider type of TriggerAreas (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.2do5inr0i04a), PickUp (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.cvo0z3zaxs42)and Chests (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.q3bgtsnk79yr)
How do I use it?
Simple: install the package, drag the inventory prefab in your scene and tweak the InventoryPlus component to fit your need, there are no additional packages required! The package accommodates the user who wants a simple plug and play solution and also developers who want to add their own modifications on top of the existing code.
The resolution used for the UI in the sample scene is 16:9.
What's included?
The package contains:
- Item Type Scriptable Objects (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.q3bgtsnk79yr)
- Inventory prefab (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.8aw4ctcq0yqj) + script
- Chest prefab (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.oybp527e94ay) + script
- Player controller with an animated sprite
- PickUp prefab (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.7xcetqe1un5a) with an animated sprite
- AreaTrigger prefab (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.yoxjwwjxohzo) with an animated sprite
- Multiple inventory UI slots (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.3fwokq0)
- Prefab folder with all the "core" components
- 2 sample scenes that guide you and allow you to experiment with the asset
The package main features are:
- Togglable inventory with a customizable hotbar
- Enables you to create new Item Types using Scripable Objects
- Allows you to create a custom visual for your inventory
- Stores both stackable (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.4i7ojhp)and non-stackable (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.4i7ojhp) items in the inventory and chests
- Displays durability of items with a progression bar and/or value (customizable)
- Changes the visual of items based on their durability (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.4i7ojhp)
- Allows you to dedicate specific inventory slots to specific items categories
- Use (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.vh0gf61ay638)items when the inventory is openend and/or closed (customizable)
- Drop (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.vh0gf61ay638)items when the inventory is openend and/or closed (customizable)
- Equip (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.vh0gf61ay638) items when the inventory is openend and/or closed (customizable)
- Sort (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.vh0gf61ay638)items when the inventory is openend and/or closed (customizable)
- Swap (
https://docs.google.com/document/d/1swnCq-repqCeyvpmUsZcBFJtNA4yFZOo/edit#heading=h.vh0gf61ay638) items when the inventory is openend and/or closed (customizable). The operation can also be performed also with the mouse if the option is enabled
- Contains an InputReader to trigger inv
Description sourced from the Unity Asset Store listing.