浏览代码
UI code updates
UI code updates
- Changed how UI is created for constants to include tooltips. - - Added info box about Randomizer execution order/main
Mohsen Kamalzadeh
4 年前
当前提交
e77310cf
共有 7 个文件被更改,包括 62 次插入 和 21 次删除
-
37com.unity.perception/Editor/Randomization/Editors/ScenarioBaseEditor.cs
-
8com.unity.perception/Editor/Randomization/Uss/Styles.uss
-
17com.unity.perception/Editor/Randomization/Uxml/Randomizer/RandomizerList.uxml
-
6com.unity.perception/Editor/Randomization/Uxml/ScenarioBaseElement.uxml
-
3com.unity.perception/Runtime/Randomization/Scenarios/FixedLengthScenario.cs
-
3com.unity.perception/Runtime/Randomization/Scenarios/ScenarioConstants.cs
-
9com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenarioConstants.cs
|
|||
<UXML xmlns="UnityEngine.UIElements"> |
|||
<VisualElement style="min-height: 132px;"> |
|||
<VisualElement name="randomizers-container" class="scenario__dark-viewport" style="margin-top: 6px; min-height: 100px;"/> |
|||
<VisualElement style="flex-direction: row; align-items: center; justify-content: center; margin-top: 4px;"> |
|||
<Button name="add-randomizer-button" text="Add Randomizer"/> |
|||
<Button name="expand-all" text="Expand All"/> |
|||
<Button name="collapse-all" text="Collapse All"/> |
|||
<VisualElement class="scenario__dark-viewport"> |
|||
<TextElement text="Randomizers" class="title-label" style="margin-left: 3px; margin-top:3px"/> |
|||
<TextElement |
|||
class="scenario__info-box" |
|||
text="Randomizers are executed in the order below. You can change the order by dragging Randomizers up or down using the handle bar to their left." |
|||
style="margin-left: 3px; margin-right: 3px"/> |
|||
<VisualElement name="randomizers-container" style="margin-top: 3px; min-height: 100px;"/> |
|||
<VisualElement style="flex-direction: row; align-items: center; justify-content: center; margin-top: 2px;"> |
|||
<Button name="add-randomizer-button" text="Add Randomizer"/> |
|||
<Button name="expand-all" text="Expand All"/> |
|||
<Button name="collapse-all" text="Collapse All"/> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</UXML> |
撰写
预览
正在加载...
取消
保存
Reference in new issue