Quantcast
Channel: Answers by "Superrodan"
Viewing all articles
Browse latest Browse all 62

Answer by Superrodan

$
0
0
The second bracket is in the wrong spot. it should be after your if statement not before your if statement. Like this: void Awake() { if( Application.loadedLevelName == "Level 01") { DontDestroyOnLoad(this.gameObject); } }

Viewing all articles
Browse latest Browse all 62

Trending Articles



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