Quantcast
Channel: Answers by "M-G-Production"
Viewing all articles
Browse latest Browse all 52

Answer by M.G. Production

$
0
0
Hi elpuerco63! Perhaps you could do so: **this.DontDestroyOnLoad()** (you could change "this" with gameObject or whatever you want! "This" refers to the actual script) (Read about it: http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html) When a new scene is loaded, this script won't be destroyed and recreated. Bests, Math

Viewing all articles
Browse latest Browse all 52

Trending Articles



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