File tree Expand file tree Collapse file tree
Editor/Scripts/VisualElements Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ namespace OC.Editor
99 public partial class OCProgressBar : UnityEngine . UIElements . ProgressBar
1010 {
1111#else
12- public class ProgressBar : UnityEngine . UIElements . ProgressBar
12+ public class OCProgressBar : UnityEngine . UIElements . ProgressBar
1313 {
14- public new class UxmlFactory : UxmlFactory < ProgressBar , UxmlTraits > { }
14+ public new class UxmlFactory : UxmlFactory < OCProgressBar , UxmlTraits > { }
1515
1616 public new class UxmlTraits : UnityEngine . UIElements . ProgressBar . UxmlTraits
1717 {
@@ -27,7 +27,7 @@ public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescri
2727 public override void Init ( VisualElement ve , IUxmlAttributes bag , CreationContext cc )
2828 {
2929 base . Init ( ve , bag , cc ) ;
30- if ( ve is not ProgressBar progressBar ) return ;
30+ if ( ve is not OCProgressBar progressBar ) return ;
3131 progressBar . ShowLimits = _showLimits . GetValueFromBag ( bag , cc ) ;
3232 progressBar . ColorBar = _colorProgressBar . GetValueFromBag ( bag , cc ) ;
3333 progressBar . ColorBackground = _colorBackground . GetValueFromBag ( bag , cc ) ;
You can’t perform that action at this time.
0 commit comments