public void Initial(string bundleName, LoaderProgrecess progress) { IsLoadFinish = false; theBundleName = bundleName; loaderProgrecess = progress; assetLoader = new IABLoader(IPathTools.GetWWWAssetBundlePath() + "/" + theBundleName, IPathTools.GetAssetBundlePath() + "/" + theBundleName, theBundleName, progress, BundleLoadFinish); }
public void Initialize(string bundle, LoaderProgress progress) { IsLoadFinish = false; mBundleName = bundle; mLoadProgress = progress; mAssetLoader = new IABLoader(progress, BundleLoadFinish); }
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); }
/// <summary> /// 初始化(创建IABLoader) /// </summary> /// <param name="bundleName"></param> /// <param name="progress"></param> public void Initial(string bundleName, LoadFinish finish, LoadProgrecess progress) { IsLoadFinish = false; this.bundleName = bundleName; this.loadProgerss = progress; loadFinish = BundleLoadFinish; if (finish != null) { loadFinish += finish; } //创建包的加载对象 abLoader = new IABLoader(bundleName, loadFinish, progress); }
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); }
public void Initialize(string bundle,LoaderProgress progress) { IsLoadFinish = false; mBundleName = bundle; mLoadProgress = progress; mAssetLoader = new IABLoader (progress,BundleLoadFinish); }