浏览代码

deregister the same method we registered (#3072)

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

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


academy.AgentSendState -= SendInfo;
academy.DecideAction -= DecideAction;
academy.AgentAct -= AgentStep;
academy.AgentForceReset -= ForceReset;
academy.AgentForceReset -= _AgentReset;
}
m_Brain?.Dispose();
}

正在加载...
取消
保存