浏览代码

Fixes in LevelStreamingManager (Cosmetic)

/main
Thomas ICHÉ 5 年前
当前提交
88017181
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 6
      Runtime/LevelStreaming/LevelStreamingManager.cs

6
Runtime/LevelStreaming/LevelStreamingManager.cs


}
if(DelayAfterLoad >= 0.0f)
{
SetProgressBar(1.0f, true);
}
if (onLoadComplete != null)
Callable.Call(onLoadComplete);

// Activate scenes
foreach (var a in asyncOperations)
a.allowSceneActivation = true;
foreach (var a in asyncOperations)
Debug.Log("allowSceneActivation: " + a.allowSceneActivation);
UpdatePercentage();
yield return new WaitForEndOfFrame();
}

正在加载...
取消
保存