Esempio n. 1
0
 /// <summary>
 /// 在给定的目录中获取AssetBundle的路径
 /// </summary>
 /// <param name="packages_root_path"></param>
 /// <param name="assetbundleName"></param>
 /// <returns></returns>
 public string GetAssetBundlePath(string packages_root_path, string assetbundleName)
 {
     if (this.ExtensionGroup)
     {
         return(VFSUtil.GetAssetBundlePathFromPackages(this.ExtensionGroup, packages_root_path, assetbundleName, this.GroupName));
     }
     else
     {
         return(VFSUtil.GetAssetBundlePathFromPackages(this.ExtensionGroup, packages_root_path, assetbundleName));
     }
 }