Quantcast
Channel: Latest Questions by Guille_b
Viewing all articles
Browse latest Browse all 18

Scene starts before scene loading is finished

$
0
0
So my problem is: I have a loading screen to switch between scenes. The problem is that the scene starts before the loading screen disappear (music and coroutines). I´m using this code for the loading screen: public class ExampleClass : MonoBehaviour {     IEnumerator Start() {         AsyncOperation async = Application.LoadLevelAsync("MyBigLevel");         yield return async;         Debug.Log("Loading complete");     } } Thanks in advance for the help!!

Viewing all articles
Browse latest Browse all 18

Trending Articles



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