浏览代码

Merge pull request #872 from Unity-Technologies/release-v0.4-hallwayil-bugfix

[Hotfix] Remove code in PushAgentBasic that presumes that there is only one brain
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
6092b677
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 2
      unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs

2
unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs


void Awake()
{
// There is one brain in the scene so this should find our brain.
brain = FindObjectOfType<Brain>();
academy = FindObjectOfType<PushBlockAcademy>(); //cache the academy
}

正在加载...
取消
保存