public void Initial(string bundle, LoaderProgress progress) { bundleName = bundle; IsLoadFinish = false; loaderProcess = progress; assetLoader = new IABLoader(progress, BundleLoadFinish); assetLoader.SetBundleName(bundle); string bundlePath = IPathTools.GetWWWAssetBundlePath() + "/" + bundle; assetLoader.LoadResources(bundlePath); }
public void Initial(string bundlePath, LoaderProgress progress) { mIsLoadFinish = false; mbundlePath = bundlePath; mLoaderProgress = progress; mABLoader = new IABLoader(progress, BundleLoadFinish); mABLoader.SetBundleName(bundlePath); string fullPathWWW = IPathTools.GetWWWAssetBundlePath() + "/" + bundlePath; string fullPathFile = IPathTools.GetAssetBundlePath() + "/" + bundlePath; mABLoader.LoadResources(fullPathWWW, fullPathFile); }
public void Initialize(string bundleName, LoadProgress loadProgress) { this.loadProgress = loadProgress; this.bundleName = bundleName; isLoadFinish = false; assetLoader = new IABLoader(loadProgress, OnBundleLoadFinish); // 设置名字和路径 assetLoader.SetBundleName(bundleName); string bundlePath = Path.Combine(IPathTools.GetWWWAssetBundlePath(), bundleName); assetLoader.LoadResources(bundlePath); }
public void Inital(string bundlename, LoadProgess progess) { isLoadFished = false; theBundleName = bundlename; loadProgess = progess; iABLoader = new IABLoader(progess, BundleLoadFinish); iABLoader.SetBundleName(bundlename); string bundlePath = IPathTools.GetWWWAssetBundlePath() + "/" + bundlename; iABLoader.LoadResources(bundlePath); }
public void Initial(string bundle, LoaderProgrecess progress) { IsLoadFinish = false; theBundleName = bundle; loaderProgress = progress; assetLoader = new IABLoader(progress, BundleLoadFinish); //yujie fixed assetLoader.SetBundleName(bundle); string bundlePath = IPathTools.GetAssetBundleWWWStreamPath(bundle); // IPathTools.GetWWWAssetBundlePath()+"/"+bundle; assetLoader.LoadResources(bundlePath); }