Question by
Elextris · Feb 24, 2020 at 11:09 AM ·
scene-switchingdontdestroyonloadlevels
How to disable DontDestroyOnLoad for particular scene?
I'm making a game and I have 5 scenes for now, and I need DontDestroyOnLoad() because the player can collect stuff on each level and get it back to starting scene (base) But I want to make one "subscene" where I don't want to use player and the same camera, is there any way to temporarily disable DontDestroyOnLoad()? Or anything like that
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612223813im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
DontDestroyOnLoad not working after changing parent temporary 0 Answers
multiple of same objects from DontDesroyOnLoad 0 Answers
how to disable dontdestroyonload on a specific scene 2 Answers
How to keep selected player active and all others inactive when new scene loaded 3 Answers
How to load a scene for the second time with a DontDestroyOnLoad object. 1 Answer