Inventory system for a 2d game

Iam a dumb idiot. Instead of very complicated inventory Systems with structs ans arrays like in the most inventory Tutorials, i now simply use a Name/Int Map in combine with an Data Table and thats it. Works very well. The only tricky part is, to clear all the children of slots in the Inventory Widget, before generate it again with an for each loop.

1 Like