Inventory
v3.0
This module is coming soon!
The Inventory module, which requires the Items and Dictionaries module to operate, is an add-on system for implementing visual "Drag and drop" inventories into your project. An "Inventory" in this sense can be anything that holds items on a visual grid, where each item has a physical height and width value that it uses on the grid.
Players can "pick up", move and drop objects in various ways, including with other inventories, passing objects from player to player, or even throwing them into the 3D world.
Designed to be highly flexible, the system functionality are built in and made available to you. This module does not force you to change your project to fit its structure, beyond adopting the use of a visual inventory, so some additional coding will be required to integrate the Inventory module into your project.
The
Panel Manager
script has a toggle for Show Debug Messages
which will toggle on or off the built in Debug.Log
messages in the scripts. The console messages should help you isolate locations in the scripts where key events happen. This is intended to help you modify the scripts to suit your project, and add additional logic that is required for your game.To make use of the Inventories module, some setup is required. Refer to the demo scene provided to with the project for reference. All scripts outside of the Demo folder are used in the setup and use of the module, while scripts inside the Demo folder are specific to the demo scene. You may find valuable methods which you can utilize in your own project, however.
Last modified 1yr ago