浏览代码

[bug] Check for non-null event before invoking. Fixes MLA-217. (#2782)

/develop-gpu-test
GitHub 5 年前
当前提交
cd46c9c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UnitySDK/Assets/ML-Agents/Scripts/Academy.cs

2
UnitySDK/Assets/ML-Agents/Scripts/Academy.cs


Time.maximumDeltaTime = m_OriginalMaximumDeltaTime;
// Signal to listeners that the academy is being destroyed now
DestroyAction();
DestroyAction?.Invoke();
foreach (var mr in m_ModelRunners)
{

正在加载...
取消
保存