I’m want to create a save/load system for all non-static gameobjects in the scene.
For example: In TES you enter in level and move some items/kill some NPC/loot chests etc, then you leave this place. And if you return on this level, all your acts (items, dead bodies, quest objects) will remain on the same places.
i want to implement it by binary serialization. Here is the question:
What is the best way to get variables, lists and enum-states from components?
In tutorials recommends to use “reflect” classes: they are not inherited from MonoBehaviour and they stores all variables of components that i need to save. Is there another way?
You can take a look at my SerializeHelper asset I have created specifically to help people understand serialization and loading/saving data. Available for free here: