I know the technical ways to save a game, but I'm more wondering when/how, in Unity, would you save game data about so many different entities when each has their own script that controls it. Also about dynamic objects that are created at run-time.
I've seen people make a save game script, but how is that script going to know what entities it needs to save? Making parameters that you have to pass everything you want to save from the editor into doesn't seem like a very good way to do this. At some level it almost seems like you'd want to inform every script/game object to save itself when, say, the same button is pressed. Any ideas around this?