diff --git a/CHANGELOG.md b/CHANGELOG.md index 089564a9..3dfbda83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ ## master +* (2022.10.21) 修复`Unity2019.2`上的兼容问题 * (2022.10.18) 优化`Axis`的数值表现 * (2022.10.15) 修复`Axis`的`Label`在`DataZoom`开启时可能显示不正常的问题 (#227) * (2022.10.14) 增加`DataZoom`对数值轴的支持 diff --git a/Runtime/Internal/BaseChart.cs b/Runtime/Internal/BaseChart.cs index f9ea93c1..364acdcf 100644 --- a/Runtime/Internal/BaseChart.cs +++ b/Runtime/Internal/BaseChart.cs @@ -691,7 +691,7 @@ namespace XCharts.Runtime public void OnBeforeSerialize() { -#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER +#if UNITY_EDITOR && UNITY_2019_3_OR_NEWER if (!UnityEditor.EditorUtility.IsDirty(this)) return; UnityEditor.EditorUtility.ClearDirty(this);