Quantcast
Channel: Questions in topic: "dontdestroyonload"
Viewing all articles
Browse latest Browse all 416

How to disable DontDestroyOnLoad for particular scene?

$
0
0
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

Viewing all articles
Browse latest Browse all 416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>