Saving System?

Hello, I am trying to make a saving system for my game. What I need to save is the players position, as well as its child’s (which should just only need the players). I also need to be able to save all the objects created in the game. Since this is dynamic, so will the code. This meaning, the users can spawn objects. Therefore I would need the positions and rotations of every spawned object. Is this possible? I don’t think playerprefs can handle this much of a saving system. Also, the system needs to be able to reopen this back up when the user uses a load feature, which I would also need.

If anyone can help me with a tutorial or something on the basics of this, I might be able to just get the rest of it on my own, if not I can just make another question on the forums or here asking the part I need help on.

Thanks,
Brandon

Flamy’s right. You’ve got to use player prefs. But for what you want to do its going to take a lot of work.

What you need to do is store the object’s position and rotation values in the player prefs. Then when you start up your scene again you set the object’s position and rotation values according to the ones you previously stored.

It will be a ton of work though if you have a lot of objects in which you want to save their position and rotation in the scene.
Player prefs should be able to handle the amount of information.