private AssetBundle LoadDependsAssetbundle(string _abName) { string[] cubedepends = manifest.GetAllDependencies(_abName); Debug.Log(cubedepends.Length); AssetBundle[] dependsAssetbundle = new AssetBundle[cubedepends.Length]; for (int index = 0; index < cubedepends.Length; index++) { string pathName = AppConfig.GetpersistentDataPath() + AppConfig.path + cubedepends[index]; dependsAssetbundle[index] = LoadBundle(pathName);// AssetBundle.LoadFromFile("file:///" + AppConfig.GetpersistentDataPath() + "Android/" + cubedepends[index]); if (m_BundleManager != null) { string ABname = cubedepends[index].Replace(".myab", ""); Debug.Log("ABname---" + ABname); m_BundleManager.AddDependentDic(ABname, dependsAssetbundle[index]); } } string bundlepath = AppConfig.GetpersistentDataPath() + AppConfig.path + _abName; AssetBundle bundle = LoadBundle(bundlepath); return(bundle); }