| | |
| | | public async UniTask Initialize() |
| | | { |
| | | await Co_LoadMainfestFile("audio"); |
| | | await Co_LoadMainfestFile("video"); |
| | | // await Co_LoadMainfestFile("video"); |
| | | await Co_LoadMainfestFile("mobeffectshader"); |
| | | await Co_LoadMainfestFile("config"); |
| | | await Co_LoadMainfestFile("maps"); |
| | |
| | | |
| | | var isBuiltin = assetBundleName.Contains("builtin"); |
| | | string _path = isBuiltin ? AssetVersionUtility.GetBuiltInAssetFilePath(assetBundleName) : AssetVersionUtility.GetAssetFilePath(assetBundleName); |
| | | Debug.LogFormat("Sync_LoadAssetBundle(): {0} => {1}", assetBundleName, _path); |
| | | |
| | | AssetBundle _assetBundle = AssetBundle.LoadFromFile(_path); |
| | | |
| | | CacheAssetBundle(assetBundleName, _assetBundle); |