public IABManifestLoader() { assetManifest = null; manifestLoder = null; isLoadFinish = false; manifestPath = IPathTools.GetWWWAssetBundlePath() + "/" + IPathTools.GetPlatformFolderName(Application.platform); }
public void Init(string bundleName, LoadProgrecess loadProgress) { IsLoadFinish = false; this.progrecess = loadProgress; this.bundleName = bundleName; assetLoader = new IABLoader(loadProgress, LoadBundleFinish); assetLoader.SetBundleName(bundleName); Debug.Log(bundleName); string bundlePath = IPathTools.GetWWWAssetBundlePath() + "/" + bundleName; // string bundlePath = "file:///E:/Windows" + "/" + bundleName; assetLoader.LoadResources(bundlePath); }