浏览代码

updated run in usim window

/addressables-test
sleal-unity 4 年前
当前提交
81e197b1
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 7
      com.unity.perception/Editor/Randomization/Editors/RunInUnitySimulationWindow.cs

7
com.unity.perception/Editor/Randomization/Editors/RunInUnitySimulationWindow.cs


Label m_PrevExecutionIdLabel;
RunParameters m_RunParameters;
const string m_SupportedGPUString = "NVIDIA";
const string k_SupportedGPUString = "NVIDIA";
[MenuItem("Window/Run in Unity Simulation")]
static void ShowWindow()

: m_RunParameters.currentScenario.SerializeToJson());
var constants = configuration["constants"];
if (constants == null)
{
constants = new JObject();
configuration["constants"] = constants;
}
constants["totalIterations"] = m_RunParameters.totalIterations;
constants["instanceCount"] = m_RunParameters.instanceCount;

正在加载...
取消
保存