I am saving my hero’s ammunition counts for each weapon with different variables. When I hit the save, an array like “int saveables” collecting infos from other variables and push it to the Saving System. When I load the game, saveables returns the values and deliver them to the proper weapons.
I am also using this for position too, with float array. It’s been a while and I have no problem with that but, is that correct usage? I feel a little bit of suspicious with that. Btw I am using JSonSaveable System.