Alright, so I have very little understanding on how to save and load minor things such as a score or things of that sort. So, when it comes to something like saving/loading a player’s position, what objects are still in the scene, and so on, I am completely stumped on what to do.
Basically, I would like to create a checkpoint system that saves literally everything that is in your scene. Such things include:
- Position of player and other objects
- The existence of (or lack thereof) objects in the scene
- The variables of scripts/components and their values as well as whether or not they still exist
What I mean by existence is simply whether or not the thing is still in the scene or not.
As you can see, I have a lot to save/load in my game, and with as little knowledge for scripting in that area, I’m hoping I could get some help with this problem. Pseudo-scripts, links, or just flat out explanations all work! I just need something to get me pointed in the right direction.