diff --git a/Scripts/Editor/NodeEditorBase.cs b/Scripts/Editor/NodeEditorBase.cs index 6153326..a327b43 100644 --- a/Scripts/Editor/NodeEditorBase.cs +++ b/Scripts/Editor/NodeEditorBase.cs @@ -22,10 +22,8 @@ namespace XNodeEditor.Internal { editors.Add(target, Activator.CreateInstance(editor.GetType()) as T); editors[target].target = target; editors[target].serializedObject = new SerializedObject(target); - return editor; } return editors[target]; - } private static T GetEditor(Type type) {