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

HOW TO USE THE COMMAND DontDestroyOnLoad(); ?

$
0
0
i want to reset my game but when i use the command SceneManager.LoadScene, it resets all my scripts, variables,... i want to keep something dont load with scene so i use dontdestroyonload but it still loads T_T i dont know what i wronged, help me pls!!!. sorry my bad English void Dontdestroyonload() { DontDestroyOnLoad(obj); }

Viewing all articles
Browse latest Browse all 416

Trending Articles



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