-
Unity Grid Inventory System
It's a simple grid style Inventory for your unity project.
-
Space - spawn random item
R - rotate item
LMB - drag item
RMB - delete item
-
On default settings, slot size = 96, 96
And i want to do my inventory like 6x9 grid, we need to change width and height in rect transform (in backpack [6x9]):
-
Width - 6x96 = 576
Height - 9x96 = 864
For items, u need to add ItemData

and change the settings as you need

Add the data of the items we created previously to the “Inventory” script

Finish!
