From bbab8d9b75347839d5aae6c6fcf74b0745500371 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Fri, 21 Oct 2022 12:37:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`Unity2019.2`=E4=B8=8A?= =?UTF-8?q?=E7=9A=84=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + Runtime/Internal/BaseChart.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);