浏览代码

remove other EndEpisode

/release_15_removeendepisode
Andrew Cohen 4 年前
当前提交
a3d66503
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/DungeonEscapeEnvController.cs

1
Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/DungeonEscapeEnvController.cs


{
baddieCol.gameObject.SetActive(false);
m_NumberOfRemainingPlayers--;
agent.EndEpisode();
agent.gameObject.SetActive(false);
print($"{baddieCol.gameObject.name} ate {agent.transform.name}");

正在加载...
取消
保存