public static void Dispose() { ThreadMission.DisposeAll(); RecordManager.ReleaseAll(); ElementAsset.bundles.Clear(); AssetBundle.UnloadAllAssetBundles(true); }
/// <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 }
public static void Dispose() { EventCallBack.ClearEvent(); ThreadMission.DisposeAll(); RecordManager.ReleaseAll(); }