diff --git a/Assets/XCharts/Runtime/XChartsMgr.cs b/Assets/XCharts/Runtime/XChartsMgr.cs index 0e26a069..4f337c76 100644 --- a/Assets/XCharts/Runtime/XChartsMgr.cs +++ b/Assets/XCharts/Runtime/XChartsMgr.cs @@ -57,7 +57,9 @@ namespace XCharts { var obj = GameObject.Find("_xcharts_"); if (obj == null) obj = new GameObject("_xcharts_"); + obj.SetActive(false); m_XCharts = obj.AddComponent(); + obj.SetActive(true); } m_XCharts.m_NowVersion = fullVersion; } @@ -514,4 +516,4 @@ namespace XCharts } #endif } -} \ No newline at end of file +}