diff --git a/Module/DataType/DictionaryCustom.cs b/Module/DataType/DictionaryCustom.cs index 495797e..34da91c 100644 --- a/Module/DataType/DictionaryCustom.cs +++ b/Module/DataType/DictionaryCustom.cs @@ -28,7 +28,6 @@ public void OnBeforeSerialize() private void UpdateDict() { -#if UNITY_EDITOR if (dictionaryData is { Count: > 0 }) { if (m_dict is { Count: > 0 }) @@ -44,12 +43,10 @@ private void UpdateDict() } } } -#endif } private void UpdateList() { -#if UNITY_EDITOR dictionaryData.Clear(); if (m_dict is { Count: > 0 }) { @@ -58,7 +55,6 @@ private void UpdateList() dictionaryData.Add(new DictionaryCustomData(kvp.Key, kvp.Value)); } } -#endif } public void Add(object key, object value)