I made a button which will increase the players inventorySize by a certain amount (1). While playing, you can see the size change in the inventory, but if I save and then play again, the inventory size is not saved. It’s the same size that I’ve set in the Inventory.cs inspector.
I am using the new JSon saving system that Brian made a tutorial for (and I am very grateful for that) and I thought that the inventory size and slot length would also get saved. Or at least, the new slots length would be set to the new inventory size.
I remember that we are initializing the slots in Awake, to the value of the inventorySize so I don’t know if this has an impact.
I really don’t know what else to try to make it work as I really want to enable the player to increase its inventory space at certain points, so I was hoping someone might be able to provide a solution.