diff --git a/Source/Editor/CustomEditors/Editors/ControlReferenceEditor.cs b/Source/Editor/CustomEditors/Editors/ControlReferenceEditor.cs index 06bcb4b41..c93a2aff3 100644 --- a/Source/Editor/CustomEditors/Editors/ControlReferenceEditor.cs +++ b/Source/Editor/CustomEditors/Editors/ControlReferenceEditor.cs @@ -15,7 +15,7 @@ namespace FlaxEditor.CustomEditors.Editors; /// /// The reference picker control used for UIControls using ControlReference. /// -public class UIControlObjectRefPickerControl : Control +public class UIControlRefPickerControl : Control { private Type _controlType; public UIControl _value; @@ -94,9 +94,9 @@ public class UIControlObjectRefPickerControl : Control } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UIControlObjectRefPickerControl() + public UIControlRefPickerControl() : base(0, 0, 50, 16) { @@ -420,7 +420,7 @@ public class UIControlObjectRefPickerControl : Control [CustomEditor(typeof(ControlReference<>)), DefaultEditor] public class ControlReferenceEditor : CustomEditor { - private CustomElement _element; + private CustomElement _element; /// public override DisplayStyle Style => DisplayStyle.Inline; @@ -430,7 +430,7 @@ public class ControlReferenceEditor : CustomEditor { if (!HasDifferentTypes) { - _element = layout.Custom(); + _element = layout.Custom(); if (ValuesTypes == null || ValuesTypes[0] == null) { Editor.LogWarning("ControlReference needs to be assigned in code.");