From 6b9e8e3898cd4dc2b4fc297836c6e86dcbe8987f Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Mon, 4 Nov 2019 18:54:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DUnity2018.3=E4=BB=A5=E4=B8=8B?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BB=A3=E7=A0=81=E4=B8=8D=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Utility/ChartHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Utility/ChartHelper.cs b/Runtime/Utility/ChartHelper.cs index 20243ff6..415b97a7 100644 --- a/Runtime/Utility/ChartHelper.cs +++ b/Runtime/Utility/ChartHelper.cs @@ -78,7 +78,7 @@ namespace XCharts public static void DestroyAllChildren(Transform parent) { if (parent == null) return; -#if UNITY_EDITOR +#if UNITY_EDITOR && UNITY_2018_3_OR_NEWER if (PrefabUtility.IsPartOfAnyPrefab(parent.gameObject)) { return;