浏览代码

fix setTeamReward

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
/MLA-1734-demo-provider
GitHub 4 年前
当前提交
790f2d32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.ml-agents/Runtime/Agent.cs

2
com.unity.ml-agents/Runtime/Agent.cs


#if DEBUG
Utilities.DebugCheckNanAndInfinity(reward, nameof(reward), nameof(SetTeamReward));
#endif
m_TeamReward += reward;
m_TeamReward = reward;
}
public void AddTeamReward(float increment)

正在加载...
取消
保存