浏览代码

[Cherry-Pick] Remove Dungeon EndEpisode (#5140)

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

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


}
else
{
agent.EndEpisode();
agent.gameObject.SetActive(false);
}
}

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

正在加载...
取消
保存