Hey,
I need some help is it possible to make a script that does so i can save a scene and load it in to another scene.
And what is the best method to save playerprefs or binary serialization?
Hey,
I need some help is it possible to make a script that does so i can save a scene and load it in to another scene.
And what is the best method to save playerprefs or binary serialization?
If you’re talking about within a build, only the Editor can save scenes. You’d need to figure out all the information you need in order to recreate the scene, save it in some chosen format (JSON is popular, but not the only option), then later load it and use the information to recreate the scene. Google for save/load systems or serialization/deserialization, as the topic is discussed a lot already. Though the work isn’t trivial. How you implement it is highly dependent on your game.
Anything is possible. Start with some of the tutorials already available:
This is all EXTREMELY well-covered ground, so you have to study what is already there.
Load/Save steps:
Don’t use the binary formatter/serializer: it is insecure, it cannot be made secure, and it makes debugging very difficult, plus it actually will NOT prevent people from modifying your save data on their computers.
Hey, Im working on a game when you enter a computer you will come in builder mode with in a diffrent scene, then you can press a button that say “Done” then it should save the scene and load the scene to the actually Game Scene