浏览代码

Format.

/develop/2.0-verified-pre
Christopher Goy 4 年前
当前提交
383cedee
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 16
      com.unity.ml-agents/Runtime/Academy.cs

16
com.unity.ml-agents/Runtime/Academy.cs


// This try-catch is because DontDestroyOnLoad cannot be used in Editor Tests
GameObject.DontDestroyOnLoad(m_StepperObject);
}
catch {}
catch { }
}
/// <summary>

void ResetActions()
{
DecideAction = () => {};
DestroyAction = () => {};
AgentPreStep = i => {};
AgentSendState = () => {};
AgentAct = () => {};
AgentForceReset = () => {};
OnEnvironmentReset = () => {};
DecideAction = () => { };
DestroyAction = () => { };
AgentPreStep = i => { };
AgentSendState = () => { };
AgentAct = () => { };
AgentForceReset = () => { };
OnEnvironmentReset = () => { };
}
static void OnQuitCommandReceived()

正在加载...
取消
保存