I am wondering how to implement a save system into the game I am making. Every tutorial I have looked at has used simple scripts and scenes to show off their version of a save system and not a single one I have watched has given me even a hint as to where to start.
My scenes are very complex (e.g. multiple “enemy” prefabs with multiple scripts attached to each) and all the tutorials I watched (I might be receiving the wrong message from them) have given me the impression that i would have to make a save script with every iteration of each var/int/bool/float/vector3 for every object in the scene (e.g. enemy1 has 40 health and enemy2 has 10 health, and I would have to make the save script contain enemy1’s health float as well as enemy2’s health float)
In other words, it seems like for every scene I would need a specific scene save script that has all the variables, integers, floats, booleans, and vector3’s of every separate object in that scene. And if I wanted to change something (like place down another enemy prefab and make an enemy3) I would have to redo the save script to account for the changes made in the scene.
Do I put a single master “save script” for each scene, or do I put a “save script” on everything in the scene?
Am I missing something?