| | |
| | | var assetBundle = AssetBundle.LoadFromFile(path);
|
| | | if (assetBundle == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest的包文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | }
|
| | |
|
| | | var manifest = assetBundle.LoadAsset<AssetBundleManifest>(ResourcesPath.AssetDependentFileAssetName);
|
| | | if (manifest == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | }
|
| | |
|
| | | var bundles = manifest.GetAllAssetBundles();
|
| | |
| | | var assetBundle = AssetBundle.LoadFromFile(path);
|
| | | if (assetBundle == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest的包文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | }
|
| | |
|
| | | var manifest = assetBundle.LoadAsset<AssetBundleManifest>(ResourcesPath.AssetDependentFileAssetName);
|
| | | if (manifest == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | }
|
| | |
|
| | | for (int i = m_AssetBundleInfoList.Count - 1; i >= 0; i--)
|
| | |
| | |
|
| | | if (_assetBundle == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest的包文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | yield break;
|
| | | }
|
| | |
|
| | | AssetBundleManifest _assetBundleManifest = _assetBundle.LoadAsset<AssetBundleManifest>(ResourcesPath.AssetDependentFileAssetName);
|
| | | if (_assetBundleManifest == null)
|
| | | {
|
| | | DebugEx.LogError("AssetBundleManifest文件为空或者加载出错.");
|
| | | DebugEx.LogErrorFormat("AssetBundleManifest的包文件为空或者加载出错. Path:{0}", path);
|
| | | yield break;
|
| | | }
|
| | |
|