|
1 | 1 | <UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xmlns:gv="UnityEditor.Experimental.GraphView">
|
2 |
| - |
3 |
| - <ui:VisualElement name="header" pickingMode="Ignore"> |
4 |
| - <ui:VisualElement name="labelContainer" pickingMode="Ignore"> |
5 |
| - <ui:Label name="titleLabel" text="Target visual effect GameObject" tooltip="Select a visual effect gameobject in the scenes and attach for additionnal control."/> |
6 |
| - <ui:Label name="subTitleLabel" /> |
7 |
| - </ui:VisualElement> |
8 |
| - </ui:VisualElement> |
9 |
| - <ui:ScrollView class="stretchContentWidth"> |
10 |
| - <ui:VisualElement name="attach-container"> |
11 |
| - <ui:Button name="attach" text="Attach" /> |
12 |
| - <ui:Label name="component-path" text="" pickingMode="Ignore"/> |
13 |
| - <ui:Button name="select" text="select" /> |
| 2 | + <ui:VisualElement class="mainContainer"> |
| 3 | + <ui:VisualElement name="header" pickingMode="Ignore"> |
| 4 | + <ui:VisualElement name="labelContainer" pickingMode="Ignore"> |
| 5 | + <ui:Label name="titleLabel" text="Target visual effect GameObject" tooltip="Select a visual effect gameobject in the scenes and attach for additionnal control."/> |
| 6 | + <ui:Label name="subTitleLabel" /> |
| 7 | + </ui:VisualElement> |
14 | 8 | </ui:VisualElement>
|
15 |
| - <ui:VisualElement name="divider" class="horizontal"/> |
16 |
| - <ui:VisualElement name="component-container"> |
17 |
| - <ui:VisualElement name="parameter-container" pickingMode="Ignore"/> |
18 |
| - <!--<ui:VisualElement name="particle-count-container" pickingMode="Ignore"> |
19 |
| - <ui:Label text="Particle Count" pickingMode="Ignore"/> |
20 |
| - <ui:Label name="particle-count" text="1337000" pickingMode="Ignore"/> |
21 |
| - </ui:VisualElement>--> |
22 |
| - <ui:VisualElement pickingMode="Ignore" > |
23 |
| - <ui:VisualElement name="toolbar" pickingMode="Ignore" > |
24 |
| - <ui:Button name="stop"> |
25 |
| - <ui:Image name="icon"/> |
26 |
| - </ui:Button> |
27 |
| - <ui:Button name="play"> |
28 |
| - <ui:Image name="icon"/> |
29 |
| - </ui:Button> |
30 |
| - <ui:Button name="step"> |
31 |
| - <ui:Image name="icon"/> |
32 |
| - </ui:Button> |
33 |
| - <ui:Button name="restart"> |
34 |
| - <ui:Image name="icon"/> |
35 |
| - </ui:Button> |
36 |
| - </ui:VisualElement> |
37 |
| - <ui:VisualElement name="play-rate-container" pickingMode="Ignore" > |
38 |
| - <ui:Label text="Play Rate" /> |
39 |
| - <ui:Slider name="play-rate-slider" direction="Horizontal" /> |
40 |
| - <uie:IntegerField name="play-rate-field"/> |
41 |
| - <ui:Button name="play-rate-menu" text="Set" class="MiniDropDown"/> |
42 |
| - </ui:VisualElement> |
43 |
| - <ui:VisualElement> |
44 |
| - <ui:VisualElement name="divider" class="horizontal"/> |
45 |
| - <ui:Label name="events-label" text="Events" /> |
46 |
| - <ui:VisualElement pickingMode="Ignore" style="flex-direction:row"> |
47 |
| - <ui:Button name="on-play-button" text="OnPlay" style="flex:1"/> |
48 |
| - <ui:Button name="on-stop-button" text="OnStop" style="flex:1"/> |
| 9 | + <ui:ScrollView class="stretchContentWidth"> |
| 10 | + <ui:VisualElement name="attach-container"> |
| 11 | + <ui:Button name="attach" text="Attach" /> |
| 12 | + <ui:Label name="component-path" text="" pickingMode="Ignore"/> |
| 13 | + <ui:Button name="select" text="select" /> |
| 14 | + </ui:VisualElement> |
| 15 | + <ui:VisualElement name="divider" class="horizontal"/> |
| 16 | + <ui:VisualElement name="component-container"> |
| 17 | + <ui:VisualElement name="parameter-container" pickingMode="Ignore"/> |
| 18 | + <!--<ui:VisualElement name="particle-count-container" pickingMode="Ignore"> |
| 19 | + <ui:Label text="Particle Count" pickingMode="Ignore"/> |
| 20 | + <ui:Label name="particle-count" text="1337000" pickingMode="Ignore"/> |
| 21 | + </ui:VisualElement>--> |
| 22 | + <ui:VisualElement pickingMode="Ignore" > |
| 23 | + <ui:VisualElement name="toolbar" pickingMode="Ignore" > |
| 24 | + <ui:Button name="stop"> |
| 25 | + <ui:Image name="icon"/> |
| 26 | + </ui:Button> |
| 27 | + <ui:Button name="play"> |
| 28 | + <ui:Image name="icon"/> |
| 29 | + </ui:Button> |
| 30 | + <ui:Button name="step"> |
| 31 | + <ui:Image name="icon"/> |
| 32 | + </ui:Button> |
| 33 | + <ui:Button name="restart"> |
| 34 | + <ui:Image name="icon"/> |
| 35 | + </ui:Button> |
49 | 36 | </ui:VisualElement>
|
50 |
| - <ui:Label name="debug-label" text="Debug"/> |
51 |
| - <ui:VisualElement name="debug-container" pickingMode="Ignore"> |
52 |
| - <ui:Button name="debug-modes" text="Debug modes" class="DropDown"/> |
53 |
| - <ui:VisualElement name="debug-modes-container" /> |
| 37 | + <ui:VisualElement name="play-rate-container" pickingMode="Ignore" > |
| 38 | + <ui:Label text="Play Rate" /> |
| 39 | + <ui:Slider name="play-rate-slider" direction="Horizontal" /> |
| 40 | + <uie:IntegerField name="play-rate-field"/> |
| 41 | + <ui:Button name="play-rate-menu" text="Set" class="MiniDropDown"/> |
54 | 42 | </ui:VisualElement>
|
55 |
| - <ui:VisualElement name="events-container" pickingMode="Ignore" > |
| 43 | + <ui:VisualElement> |
| 44 | + <ui:VisualElement name="divider" class="horizontal"/> |
| 45 | + <ui:Label name="events-label" text="Events" /> |
| 46 | + <ui:VisualElement pickingMode="Ignore" style="flex-direction:row"> |
| 47 | + <ui:Button name="on-play-button" text="OnPlay" style="flex:1"/> |
| 48 | + <ui:Button name="on-stop-button" text="OnStop" style="flex:1"/> |
| 49 | + </ui:VisualElement> |
| 50 | + <ui:Label name="debug-label" text="Debug"/> |
| 51 | + <ui:VisualElement name="debug-container" pickingMode="Ignore"> |
| 52 | + <ui:Button name="debug-modes" text="Debug modes" class="DropDown"/> |
| 53 | + <ui:VisualElement name="debug-modes-container" /> |
| 54 | + </ui:VisualElement> |
| 55 | + <ui:VisualElement name="events-container" pickingMode="Ignore" > |
| 56 | + </ui:VisualElement> |
56 | 57 | </ui:VisualElement>
|
57 | 58 | </ui:VisualElement>
|
58 | 59 | </ui:VisualElement>
|
59 |
| - </ui:VisualElement> |
60 |
| - </ui:ScrollView> |
| 60 | + </ui:ScrollView> |
| 61 | + </ui:VisualElement> |
61 | 62 | <gv:ResizableElement pickingMode="Ignore" />
|
62 | 63 | </UXML>
|
0 commit comments