Hi Unity Community! I know saving is a tough topic in the Unity3D world and yet there’s a lot of resources that expounds on this topic, but I many need some ideas on how to save gameObjects and the information they carry. See, I have a custom mission editor that works with empty gameObjects and their unique scripts. Isn’t there a way for me to save specific information like, saving if a gameObject’s script has already executed, saving if a gameObject has been SetActive, saving lights or skyboxes, saving objects(if they are already destroyed or not).
Basically, I’m trying to figure out that each time a gameObject has been SetActive or the script has already been executed, the player would be able to cut the game off and then resume right where they were with gameObjects SetActive or not, and scripts already executed or not, along with the gameObjects they may control.
Which would be best for what I’m trying to do? PlayerPrefs, XML, Singleton? I’m not too familiar with the last two, so any good references would be great. Thank you! ![]()