diff --git a/CHANGELOG.md b/CHANGELOG.md index 4297bdcb..09705e6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - `DialogueRunner.CommandDispatcher` is now set up on first access, rather than in `Awake`. - This allows other objects to work with the command dispatcher (for example, registering new methods) in their `Awake` methods, even if their `Awake` methods run before `DialogueRunner`'s. - `YarnCommand` and `YarnFunction` commands now allow including `.` characters in their names. +- Fixed an issue in SerializableDictionary.cs that caused builds to fail. ### Changed diff --git a/Runtime/SerializableDictionary.cs b/Runtime/SerializableDictionary.cs index 3d662bdb..f2980969 100644 --- a/Runtime/SerializableDictionary.cs +++ b/Runtime/SerializableDictionary.cs @@ -262,6 +262,7 @@ protected override void SetValue(TValueStorage[] storage, int i, TValue value) } } +#if UNITY_EDITOR namespace Yarn.Unity.Editor { @@ -872,3 +873,4 @@ public override float GetPropertyHeight(SerializedProperty property, GUIContent } } } +#endif