From 769342ef7b1d9073eb38e13af068b9ec90d0c190 Mon Sep 17 00:00:00 2001 From: Tomasz Piowczyk Date: Fri, 26 Feb 2021 11:07:45 +0100 Subject: [PATCH] Fix reference error --- Editor/UDictionaryDrawer.cs | 2 +- Editor/Unity.SerializedDictionary.Editor.asmdef | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/UDictionaryDrawer.cs b/Editor/UDictionaryDrawer.cs index e739dfe..a3faab3 100644 --- a/Editor/UDictionaryDrawer.cs +++ b/Editor/UDictionaryDrawer.cs @@ -125,7 +125,7 @@ protected void InitializeList(SerializedProperty prop) } } - protected virtual ReorderableList CreateList(SerializedObject serializedObj, SerializedProperty elements) => + protected virtual ReorderableList CreateList(SerializedObject serializedObj, SerializedProperty elements) => new ReorderableList(serializedObj, elements, !isReadOnly, true, !isReadOnly, !isReadOnly) { drawHeaderCallback = DrawHeader, onAddCallback = OnAdd, diff --git a/Editor/Unity.SerializedDictionary.Editor.asmdef b/Editor/Unity.SerializedDictionary.Editor.asmdef index d16dfd6..1dde47a 100644 --- a/Editor/Unity.SerializedDictionary.Editor.asmdef +++ b/Editor/Unity.SerializedDictionary.Editor.asmdef @@ -1,7 +1,7 @@ { "name": "Unity.SerializedDictionary.Editor", "references": [ - "GUID:bd6a1acfe4f1fdc4db1bfa6a63426a3e" + "Unity.SerializedDictionary" ], "includePlatforms": [], "excludePlatforms": [],