浏览代码
Merge pull request #154 from Unity-Technologies/scenario_UI_tooltips_and_info
Merge pull request #154 from Unity-Technologies/scenario_UI_tooltips_and_info
UI improvements for scenario inspector/main
GitHub
4 年前
当前提交
ae42bbb4
共有 7 个文件被更改,包括 72 次插入 和 31 次删除
-
43com.unity.perception/Editor/Randomization/Editors/ScenarioBaseEditor.cs
-
12com.unity.perception/Editor/Randomization/Uss/Styles.uss
-
16com.unity.perception/Editor/Randomization/Uxml/Randomizer/RandomizerList.uxml
-
17com.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="scenario__title-label"/> |
|||
<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."/> |
|||
<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