Recently, I read an article on the DevForum about Serialization and wanted to make an inventory system. I am not asking for a script, but I wanted to know the best way to make an inventory system. I’ve thought of a few things such as a folder with values, a table that gets added per person, and just a UI that saves with serialization. Any ideas on how I should go about making an inventory system would be much appreciated.
Would there be a benefit in making this a dictionary? I would want this to stack in a UI (ex Wood: 5) and having a dictionary with the value being the amount of the thing they have seems like it could work better.