/// <summary> /// 构造函数 /// </summary> /// <param name="abName">AB包名称</param> /// <param name="loadCallback">下载完成回调</param> public SingleABLoader(string abName, Action <string> loadCallback) { _ABName = abName; _LoadCallback = loadCallback; //AB包下载路径 _ABDownLoadPath = PathTool.GetWWWPath() + "/" + _ABName; }
public AssetBundleItem(string bundleName, Action <bool, string> loadCallbcak) { BundleName = bundleName; abRelation = new ABRelation(bundleName); LoadCallback = loadCallbcak; BundleLoadStatus = BundleLoadStatus.WAIT_LOAD; _ABDownLoadPath = PathTool.GetWWWPath() + "/" + bundleName; }
public ABManifestLoader() { _manifest = null; _loadPath = PathTool.GetWWWPath() + "/" + PathTool.GetPlatformName(); _isLoadFinish = false; }