OldSchool Grid Inventory is a grid inventory system inspired by good-old RPG and Hack&Slash like games.
OldSchool Grid Inventory is designed to be a quick solution for any grid inventory system necessities. It can be used with RPG, FPS, adventure, or any other type of game. The script is easy to understand and extend.
It can generate multiple inventories with a given width and height tile count, and make transactions between them.
Features:
An inventory generator script that allows users to generate inventories automatically with given width and height tiles.
One ground item and one inventory item prefab. Users can use these prefabs with all kinds of sprites and grid sizes.
Included:
Full Source Code
Grid Inventory Prefab: Users can easily construct any number of inventories with a given size.
A play-ready demo scene
1.2 version is now released!
You can ask me any questions you want to me or message me to get scripting support.
Grounded_Item prefab is the 3D item base in “Resources/Prefabs/ItemPrefabs” path. You can use the methods inside “Generate Item Methods” region in the GameManager script to generate 3D items. There are some good samples there.
You can also customize the Grounded_Item prefab (by giving them constant sprites) to generate your custom items and use them directly.
Feel free to criticize the product and let me know if anything is missing or any would be nice to do’s, so I can think about a new version that covers this features.
Sorry for the late reply, I’ve been very busy lately.
I just submitted the asset with the 2018.2 version of Unity but I can tell you with comfort, the upgrade process goes seamlessly from the 2017 version.
I’ll write here when the new package is accepted.