File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Examples/DefaultNodes/Nodes
com.alelievr.NodeGraphProcessor/Editor/Resources/GraphProcessorStyles Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ public class DrawerFieldTestNode : BaseNode
20
20
[ Input ( name = "Float" ) , ShowAsDrawer ]
21
21
public float floatInput ;
22
22
23
+ [ Input ( name = "Vector 3 Int" ) , ShowAsDrawer ]
24
+ public Vector3Int vector3Int ;
25
+
26
+ [ Input ( name = "Vector 2 Int" ) , ShowAsDrawer ]
27
+ public Vector2Int vector2Int ;
28
+
23
29
[ Input ( name = "Int" ) , ShowAsDrawer ]
24
30
public int intInput ;
25
31
Original file line number Diff line number Diff line change @@ -130,7 +130,9 @@ ParameterNodeView #controls EnumField > VisualElement > VisualElement {
130
130
131
131
#input-container > .port-input-element > Vector4Field Label,
132
132
#input-container > .port-input-element > Vector3Field Label,
133
- #input-container > .port-input-element > Vector2Field Label {
133
+ #input-container > .port-input-element > Vector2Field Label,
134
+ #input-container > .port-input-element > Vector3IntField Label,
135
+ #input-container > .port-input-element > Vector2IntField Label {
134
136
font-size: 8px;
135
137
min-width: 8px;
136
138
flex-basis: 8px;
@@ -140,11 +142,13 @@ ParameterNodeView #controls EnumField > VisualElement > VisualElement {
140
142
141
143
#input-container > .port-input-element > Vector4Field FloatInput,
142
144
#input-container > .port-input-element > Vector3Field FloatInput,
143
- #input-container > .port-input-element > Vector2Field FloatInput {
145
+ #input-container > .port-input-element > Vector2Field FloatInput,
146
+ #input-container > .port-input-element > Vector3IntField IntegerInput,
147
+ #input-container > .port-input-element > Vector2IntField IntegerInput {
144
148
min-width: 28px;
145
149
}
146
150
147
- #input-container > .port-input-element > Vector2Field .unity-composite-field__field-spacer {
151
+ #input-container > .port-input-element > * .unity-composite-field__field-spacer {
148
152
flex-grow: 0.01;
149
153
}
150
154
You can’t perform that action at this time.
0 commit comments