浏览代码

AddReward before EpisodeEnd (#4064)

Changed order of AddReward() and EpisodeEnd() in the Rewards example.
/MLA-1734-demo-provider
GitHub 5 年前
当前提交
b66f5ca8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      docs/Learning-Environment-Design-Agents.md

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


Mathf.Abs(gameObject.transform.position.x - area.transform.position.x) > 8f ||
Mathf.Abs(gameObject.transform.position.z + 5 - area.transform.position.z) > 8)
{
EndEpisode();
EndEpisode();
}
```

正在加载...
取消
保存