浏览代码

Rename k_KApiVersion to k_ApiVersion. (#2655)

/develop-gpu-test
GitHub 5 年前
当前提交
336e1c34
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      UnitySDK/Assets/ML-Agents/Scripts/Academy.cs

4
UnitySDK/Assets/ML-Agents/Scripts/Academy.cs


[SerializeField]
public BroadcastHub broadcastHub = new BroadcastHub();
private const string k_KApiVersion = "API-10";
private const string k_ApiVersion = "API-10";
/// Temporary storage for global gravity value
/// Used to restore oringal value when deriving Academy modifies it

var academyParameters =
new CommunicatorObjects.UnityRLInitializationOutputProto();
academyParameters.Name = gameObject.name;
academyParameters.Version = k_KApiVersion;
academyParameters.Version = k_ApiVersion;
foreach (var brain in exposedBrains)
{
var bp = brain.brainParameters;

正在加载...
取消
保存