mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
修复Unity2019.2上的兼容问题
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user