浏览代码

more polish

/main
Mohsen Kamalzadeh 4 年前
当前提交
88b30002
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 2
      com.unity.perception/Editor/Randomization/Uxml/Randomizer/RandomizerList.uxml
  2. 7
      com.unity.perception/Editor/Randomization/Uxml/ScenarioBaseElement.uxml

2
com.unity.perception/Editor/Randomization/Uxml/Randomizer/RandomizerList.uxml


<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"/>
style="margin-left: 3px; margin-right: 3px; margin-top: 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"/>

7
com.unity.perception/Editor/Randomization/Uxml/ScenarioBaseElement.uxml


class="scenario__info-box"
text="Scenarios control the execution flow of your simulation by applying randomization parameters. Make sure to always have only one scenario active within your scene."/>
<VisualElement name="inspector-properties" style="margin-bottom: 4px;"/>
<VisualElement class="scenario__dark-viewport" style="padding-left: 16px">
<Toggle label="Quit On Complete" tooltip="Quit the application when the scenario completes" binding-path="quitOnComplete"/>
<VisualElement class="scenario__dark-viewport" >
<TextElement text="Scenario Properties" class="title-label" style="margin-left: 3px; margin-top:3px"/>
<Toggle label="Quit On Complete" tooltip="Quit the application when the scenario completes" binding-path="quitOnComplete" style="margin-top:2px"/>
<Foldout text="Constants" name="constants-list" tooltip="A list of parameters for this scenario that will be JSON serialized in the configuration file."/>
<Foldout style="padding-left: 16px" text="Constants" name="constants-list" tooltip="A list of parameters for this scenario that will be JSON serialized in the configuration file."/>
<editor:PropertyField name="configuration-file-name" label="Constants File Name" binding-path="serializedConstantsFileName"/>
<VisualElement style="flex-direction: row;">
<Button name="serialize" text="Serialize To Config File" style="flex-grow: 1;"

正在加载...
取消
保存