예제 #1
0
 public static void Dispose()
 {
     ThreadMission.DisposeAll();
     RecordManager.ReleaseAll();
     ElementAsset.bundles.Clear();
     AssetBundle.UnloadAllAssetBundles(true);
 }
예제 #2
0
파일: App.cs 프로젝트: pkwzsqsdly/HGUI
        /// <summary>
        /// 释放资源:包含ThreadMission,RecordManager,ElementAsset,AssetBundle
        /// </summary>
        public static void Dispose()
        {
            ThreadMission.DisposeAll();
            RecordManager.ReleaseAll();
            ElementAsset.bundles.Clear();
            AssetBundle.UnloadAllAssetBundles(true);
#if UNITY_STANDALONE_WIN || UNITY_EDITOR
            IME.Dispose();
#endif
        }
예제 #3
0
 public static void Dispose()
 {
     EventCallBack.ClearEvent();
     ThreadMission.DisposeAll();
     RecordManager.ReleaseAll();
 }