How do I keep a scene altered after the player leaves the scene and then comes back?
I've been making a sort of adventure 2D game and I'm very new to game development. The game works where you need to find certain things around the world to unlock things in previous places where you've been. I've designed my first area and then a little cave you can walk in, but then I realized that once you walk back to the main area from the cave (and reload to the "main area" scene) that the character appears back to where it's first loaded, and a few items that the player had to destroyed are now back. Is there a simple way to just say "Keep the scene as it was altered" or is it more complicated? I know about the "Don'tDestroyOnLoad" thing in scripts but I don't see how I could apply it to every, like putting the player at the cave entrance once you walk back through it. Any help would be greatly appreciated! And let me know if there's something you're confused on because I'm not great at wording this stuff since I'm so new!
Your answer
Follow this Question
Related Questions
dontDestroyOnLoad doesn't work as expected with scene navigation 0 Answers
Multiple active scenes updating but not rendering? 0 Answers
freezes on play 0 Answers
DontDestroyOnLoad wont let me play game 0 Answers