コード例 #1
0
 /// <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;
 }
コード例 #2
0
 public AssetBundleItem(string bundleName, Action <bool, string> loadCallbcak)
 {
     BundleName       = bundleName;
     abRelation       = new ABRelation(bundleName);
     LoadCallback     = loadCallbcak;
     BundleLoadStatus = BundleLoadStatus.WAIT_LOAD;
     _ABDownLoadPath  = PathTool.GetWWWPath() + "/" + bundleName;
 }
コード例 #3
0
 public ABManifestLoader()
 {
     _manifest     = null;
     _loadPath     = PathTool.GetWWWPath() + "/" + PathTool.GetPlatformName();
     _isLoadFinish = false;
 }