浏览代码

fix setTeamReward

Co-authored-by: Vincent-Pierre BERGES <vincentpierre@unity3d.com>
/develop/superpush/int
Ruo-Ping Dong 4 年前
当前提交
ff4e57f2
共有 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)

正在加载...
取消
保存