#I don t know if you re saying something
1 messages · Page 1 of 1 (latest)
No, I wasn't recording any dialogue for the video. The Loading Screen is in the initial scene. I use this code to load the next scene:
public void BeginLoadScene(int sceneToLoad)
{
progressBar.value = 0;
loadOperation = SceneManager.LoadSceneAsync(sceneToLoad);
StartCoroutine(Loading());
IEnumerator Loading()
{
while(!loadOperation.isDone)
{
progressBar.value = Mathf.Clamp01(loadOperation.progress / 0.9f);
yield return null;
}
SetLoadScreen(false);
}
}
Perhaps mark the loading operation to not complete automatically.