Steven Leal
4 年前
当前提交
cf9332bb
共有 6 个文件被更改,包括 148 次插入 和 58 次删除
-
1com.unity.perception/Editor/Randomization/Editors/PerceptionEditorAnalytics.cs
-
97com.unity.perception/Editor/Randomization/Editors/RunInUnitySimulationWindow.cs
-
49com.unity.perception/Editor/Randomization/Editors/ScenarioBaseEditor.cs
-
38com.unity.perception/Editor/Randomization/Uxml/RunInUnitySimulationWindow.uxml
-
18com.unity.perception/Editor/Randomization/Uss/RunInUnitySimulationWindowStyles.uss
-
3com.unity.perception/Editor/Randomization/Uss/RunInUnitySimulationWindowStyles.uss.meta
|
|||
<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements"> |
|||
<TextField name="run-name" label="Run Name"/> |
|||
<editor:IntegerField name="total-iterations" label="Total Iterations"/> |
|||
<editor:IntegerField name="instance-count" label="Instance Count" max-value="10000"/> |
|||
<editor:ObjectField name="main-scene" label="Main Scene" allow-scene-objects="false"/> |
|||
<editor:ObjectField name="scenario" label="Scenario"/> |
|||
<VisualElement class="unity-base-field"> |
|||
<Label text="Sys-Param" class="unity-base-field__label"/> |
|||
<editor:ToolbarMenu name="sys-param" class="unity-base-field__input" style="border-width: 1px;"/> |
|||
</VisualElement> |
|||
<VisualElement style="align-items: center;"> |
|||
<Button name="run-button" text="Build and Run" style="margin: 10px; padding: 2 20; font-size: 13px;"/> |
|||
<VisualElement style="margin: 2 4 2 4;"> |
|||
<Style src="../Uss/RunInUnitySimulationWindowStyles.uss"/> |
|||
<VisualElement class="sim-window__container-outer"> |
|||
<Label text="Simulation Parameters" class="sim-window__header-1"/> |
|||
<TextField name="run-name" label="Run Name"/> |
|||
<editor:IntegerField name="total-iterations" label="Total Iterations"/> |
|||
<editor:IntegerField name="instance-count" label="Instance Count" max-value="10000"/> |
|||
<VisualElement class="unity-base-field"> |
|||
<Label text="Sys-Param" class="unity-base-field__label"/> |
|||
<editor:ToolbarMenu name="sys-param" class="unity-base-field__input" style="border-width: 1px;"/> |
|||
</VisualElement> |
|||
<VisualElement style="align-items: center;"> |
|||
<Button name="run-button" text="Build and Run" style="margin: 10px; padding: 2 20; font-size: 13px;"/> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
|
|||
<VisualElement class="sim-window__container-outer"> |
|||
<Label text="Results of Previous Run" class="sim-window__header-1"/> |
|||
|
|||
<Label name="project-id" text="Project ID: " class="sim-window__label-prev-result"/> |
|||
<Label name="execution-id" text="Execution ID: " class="sim-window__label-prev-result"/> |
|||
|
|||
<VisualElement style="flex-direction: row;"> |
|||
<Button name="copy-execution-id" text="Copy Execution ID" style="flex-grow: 1; flex-shrink: 0;"/> |
|||
<Button name="copy-project-id" text="Copy Project ID" style="flex-grow: 1; flex-shrink: 0;"/> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</UXML> |
|
|||
.sim-window__header-1 { |
|||
font-size: 14px; |
|||
-unity-font-style: bold; |
|||
margin-bottom: 1px; |
|||
margin-left: 2px; |
|||
} |
|||
|
|||
.sim-window__container-outer { |
|||
background-color: #2A2A2A; |
|||
margin-bottom: 8px; |
|||
margin-top: 2px; |
|||
padding: 2px; |
|||
} |
|||
|
|||
.sim-window__label-prev-result { |
|||
padding: 2 2 0 1; /*top, right, bottom, left*/ |
|||
margin: 1 3 1 3; |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 67ac54c923534486a149e4d1d85d9c83 |
|||
timeCreated: 1613109854 |
撰写
预览
正在加载...
取消
保存
Reference in new issue