Skip to content

Commit 063a807

Browse files
committed
Fixed issue with enum fields in uxml files
1 parent dea9fd3 commit 063a807

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Editor/Resources/MSS/MSSUIElements/ShaderPropertyDrawer.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
22
<ui:TextField name="Name" label="Name" binding-path="Name" />
33
<ui:TextField label="Display Name" binding-path="DisplayName" />
4-
<uie:EnumField name="TypeField" label="Type" type="VRLabs.ModularShaderSystem.PropertyType, Assembly-CSharp-Editor" />
4+
<uie:EnumField name="TypeField" label="Type"/>
55
<ui:VisualElement name="ValueContainer" />
66
<!--<ui:TextField label="Type" binding-path="Type" readonly="true" focusable="false" />
77
<ui:TextField label="Default Value" binding-path="DefaultValue" readonly="true" focusable="false" />-->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
22
<ui:TextField name="Name" picking-mode="Ignore" label="Name" binding-path="Name" />
3-
<uie:EnumField name="Type" label="Type" type="VRLabs.ModularShaderSystem.VariableType, Assembly-CSharp-Editor" binding-path="Type" />
3+
<uie:EnumField name="Type" label="Type" binding-path="Type" />
44
<ui:TextField name="CustomType" picking-mode="Ignore" label="Custom Type" binding-path="CustomType" />
55
</ui:UXML>

0 commit comments

Comments
 (0)