3335 在更新完 builtin 资源后,卸载assetbundle包
(cherry picked from commit b52ee973b515111884e5b3720391c67cf7ce2378)
| | |
| | | {
|
| | | WindowConfig.Release();
|
| | | UnloadAssetBundle("builtin/scriptableobjects", true, false);
|
| | | UnloadAssetBundle("builtin/prefabs", true, false);
|
| | | Snxxz.UI.WindowCenter.Instance.DestoryWinsByStage(Snxxz.UI.WindowCenter.WindowStage.Launch);
|
| | | UnloadAssetBundle("builtin/prefabs", true, false);
|
| | |
|
| | | var path = AssetVersionUtility.GetBuiltInAssetFilePath("builtin_assetbundle");
|
| | | var assetBundle = AssetBundle.LoadFromFile(path);
|