Multi-Scene-workflow icon indicating copy to clipboard operation
Multi-Scene-workflow copied to clipboard

load and unload scene before loading and unloading is done

Open Wanfanel opened this issue 4 years ago • 0 comments

in ScenePartLoader load and unload scene before loading and unloading is done can duplicate scenes to avoid this we needed check if scene is fully load/unload with something like this:

        IEnumerator IsDone()
        {
            isloadCompleted = false;
            while (!asyncOperation.isDone) { yield return null; }
            isloadCompleted = true;
        }

Wanfanel avatar Aug 03 '21 22:08 Wanfanel