@@ -105,11 +105,11 @@ partial class CustomVisualElement
105
105
public new class UxmlTraits : global ::UnityEngine .UIElements .VisualElement .UxmlTraits
106
106
{
107
107
[global ::System .CodeDom .Compiler .GeneratedCodeAttribute (" UnityUxmlGenerator" , " 1.0.0.0" )]
108
- private readonly global::UnityEngine.UIElements.UxmlStringAttributeDescription customAttribute = new ()
108
+ private readonly global::UnityEngine.UIElements.UxmlStringAttributeDescription _customAttribute = new ()
109
109
{ name = " custom-attribute" , defaultValue = " " };
110
110
111
111
[global ::System .CodeDom .Compiler .GeneratedCodeAttribute (" UnityUxmlGenerator" , " 1.0.0.0" )]
112
- private readonly global::UnityEngine.UIElements.UxmlStringAttributeDescription customAttributeWithDefaultValue = new ()
112
+ private readonly global::UnityEngine.UIElements.UxmlStringAttributeDescription _customAttributeWithDefaultValue = new ()
113
113
{ name = " custom-attribute-with-default-value" , defaultValue = " DefaultValue" };
114
114
115
115
[global ::System .CodeDom .Compiler .GeneratedCodeAttribute (" UnityUxmlGenerator" , " 1.0.0.0" )]
@@ -121,8 +121,8 @@ partial class CustomVisualElement
121
121
base .Init (visualElement , bag , context );
122
122
123
123
var control = (CustomVisualElement ) visualElement ;
124
- control .CustomAttribute = customAttribute .GetValueFromBag (bag , context );
125
- control .CustomAttributeWithDefaultValue = customAttributeWithDefaultValue .GetValueFromBag (bag , context );
124
+ control .CustomAttribute = _customAttribute .GetValueFromBag (bag , context );
125
+ control .CustomAttributeWithDefaultValue = _customAttributeWithDefaultValue .GetValueFromBag (bag , context );
126
126
}
127
127
}
128
128
}
0 commit comments