} // void Initialize protected bool clearGLOBAL(bool isSkipLoadedData = false) { try { //@ Release & Clear Triangle, DrawMesh, Object Dyn UnitPool unitpool_ = UnitPool.GetInstance; unitpool_.TruncateAll(); m_intervalUnitWalking.DestructIntervalsAll(); m_processInput.DestructInput(); if (false == isSkipLoadedData) { m_stageMap.Release(); } m_baseTowerCollector.DestructBaseAll(); m_baseCoreCollector.DestructBaseAll(); m_baseCoresubCollector.DestructBaseAll(); m_baseStartCollector.DestructBaseAll(); m_baseBlockCollector.DestructBaseAll(); m_toolmoduleNavimesh.ReleaseNaviMeshTool(); if (null != m_meshNavigation_global) { m_meshNavigation_global.DestructNaviMesh(); m_meshNavigation_global = null; } GC.Collect(); return(true); } catch (Exception e) { Debug.Log(e); return(false); } } // protected void clearGLOBAL()