3335 builtin资源下载更新后重启应用程序。
| | |
| | |
|
| | | public void ReInitBuiltInAsset()
|
| | | {
|
| | | WindowConfig.Release();
|
| | | var path = AssetVersionUtility.GetBuiltInAssetFilePath("builtin_assetbundle");
|
| | | var assetBundle = AssetBundle.LoadFromFile(path);
|
| | | if (assetBundle == null)
|
| | |
| | |
|
| | | if (!reinitedBuiltInAsset && task.relativePath.Contains("builtin"))
|
| | | {
|
| | | reinitedBuiltInAsset = true;
|
| | | restartApp = true;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | return config;
|
| | | }
|
| | |
|
| | | public static void Release()
|
| | | {
|
| | | config = null;
|
| | | }
|
| | |
|
| | | public bool FindChildWindow(string _parent, int _order, out string _child)
|
| | | {
|
| | | for (int i = 0; i < windows.Length; i++)
|