浏览代码

Fix typo in SceneLoader.cs (#495)

/main
GitHub 3 年前
当前提交
2727c6c2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs

4
UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs


|| !_gameplayManagerSceneInstance.Scene.isLoaded)
{
_gameplayManagerLoadingOpHandle = _gameplayScene.sceneReference.LoadSceneAsync(LoadSceneMode.Additive, true);
_gameplayManagerLoadingOpHandle.Completed += OnGameplayMangersLoaded;
_gameplayManagerLoadingOpHandle.Completed += OnGameplayManagersLoaded;
}
else
{

private void OnGameplayMangersLoaded(AsyncOperationHandle<SceneInstance> obj)
private void OnGameplayManagersLoaded(AsyncOperationHandle<SceneInstance> obj)
{
_gameplayManagerSceneInstance = _gameplayManagerLoadingOpHandle.Result;

正在加载...
取消
保存