- Home /
Disappear objects and that these are still missing when you return to load the scene
Hello, in my game I am doing that when the character takes an orb this disappears, but I want that when I return to play that same level, the orbs that I already take, do not appear
I mean, I'm looking for how to make some objects not saved in the scene
Can someone help me or can I get some tutorial on how to do it?
Answer by SlowCircuit · Jun 10, 2018 at 04:05 AM
You need to create a save system that can store a list of objects that have been destroyed. Then in Awake() on the object, have it check if it's in the destroyed objects list. If so, have it destroy itself.
Your answer
Follow this Question
Related Questions
How to load (restart) last scene 2 Answers
1 Scene game|| Reset variables 1 Answer
Restarting game with last score from playerprefs. PLEASE HELP!! 1 Answer
Destroy All Objects In The Scene??? 1 Answer