比较提交

...
此合并请求有变更与目标分支冲突。
/docs/Learning-Environment-Create-New.md
/docs/Learning-Environment-Design-Agents.md

1 次代码提交

作者 SHA1 备注 提交日期
Andrew Cohen 10b57d7b clean up EndEpisode demo code 4 年前
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      docs/Learning-Environment-Create-New.md
  2. 2
      docs/Learning-Environment-Design-Agents.md

2
docs/Learning-Environment-Create-New.md


}
// Fell off platform
if (this.transform.localPosition.y < 0)
else if (this.transform.localPosition.y < 0)
{
EndEpisode();
}

2
docs/Learning-Environment-Design-Agents.md


AddReward(1.0f);
EndEpisode();
}
if (hitObjects.Where(col => col.gameObject.tag == "pit").ToArray().Length == 1)
else if (hitObjects.Where(col => col.gameObject.tag == "pit").ToArray().Length == 1)
{
AddReward(-1f);
EndEpisode();

正在加载...
取消
保存