浏览代码

Fixed a simple typo in LoadingScreenManager (#417)

In LoadingScreenManager.cs we subscribed to a listener in OnDisable instead of unsubscribing.
/main
GitHub 4 年前
当前提交
ea77fe9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UOP1_Project/Assets/Scripts/SceneManagement/LoadingScreenManager.cs

2
UOP1_Project/Assets/Scripts/SceneManagement/LoadingScreenManager.cs


{
if (_ToggleLoadingScreen != null)
{
_ToggleLoadingScreen.OnEventRaised += ToggleLoadingScreen;
_ToggleLoadingScreen.OnEventRaised -= ToggleLoadingScreen;
}
}

正在加载...
取消
保存