| | |
| | | public override void End() |
| | | { |
| | | if (AssetSource.isUseAssetBundle) |
| | | { |
| | | { |
| | | AssetBundleUtility.Instance.InitBuiltInAsset(); |
| | | |
| | | LaunchInHot.Instance.InitSystemMgr(); |
| | | |
| | | // 这里还没开始加载配置 但是提前加载了供LaunchWin使用 |
| | | PriorLanguageConfig.LazyInit(); |
| | | InitialFunctionConfig.LazyInit(); |
| | | |
| | | UIManager.Instance.OpenWindow<LaunchWin>(); |
| | | } |
| | | |
| | | // ConfigInitiator.SyncInit(); |
| | | UIManager.Instance.CloseWindow<DownLoadWin>(); |
| | | UIManager.Instance.CloseWindow<VersionUpdateWin>(); |
| | |
| | | |
| | | private void EditorCopyAsset() |
| | | { |
| | | if (AssetSource.isUseAssetBundle) |
| | | { |
| | | FileExtersion.DirectoryCopy(ResourcesPath.CONFIG_FODLER, ResourcesPath.Instance.StreamingAssetPath + "config"); |
| | | FileExtersion.DirectoryCopy(ResourcesPath.ResourcesOutPath + "BuiltIn", ResourcesPath.Instance.StreamingAssetPath + "builtin"); |
| | | } |
| | | // if (AssetSource.isUseAssetBundle) |
| | | // { |
| | | // FileExtersion.DirectoryCopy(ResourcesPath.CONFIG_FODLER, ResourcesPath.Instance.StreamingAssetPath + "config"); |
| | | // FileExtersion.DirectoryCopy(ResourcesPath.ResourcesOutPath + "BuiltIn", ResourcesPath.Instance.StreamingAssetPath + "builtin"); |
| | | // } |
| | | } |
| | | |
| | | } |