diff --git a/Editor/DefaultUI/SerializeReferenceInspectorButton.cs b/Editor/DefaultUI/SerializeReferenceInspectorButton.cs index c3c8468..611c2de 100644 --- a/Editor/DefaultUI/SerializeReferenceInspectorButton.cs +++ b/Editor/DefaultUI/SerializeReferenceInspectorButton.cs @@ -28,7 +28,7 @@ namespace Textus.SerializeReferenceUI.Editor string className = isNull ? "Null (Assign)" : ClassName; string assemblyName = AssemblyName; - if (GUI.Button(buttonPosition, new GUIContent(className, className + " ( " + assemblyName + " )"))) + if (EditorGUI.DropdownButton(buttonPosition, new GUIContent(className, className + " ( " + assemblyName + " )"), FocusType.Keyboard)) { property.ShowContextMenuForManagedReference(buttonPosition, filters); }