Ejemplo n.º 1
0
 /// <summary>
 /// 获取某资源包信息
 /// </summary>
 /// <param name="abFilePath">资源包相对路径</param>
 /// <returns>不存在返回null</returns>
 public AssetBundleInfo GetAssetBundleInfo(string abFilePath)
 {
     if (!HasAssetBundle(abFilePath))
     {
         return(null);
     }
     abFilePath = GameFramework.Utility.Path.GetRegularPath(abFilePath);
     return(AssetBundleInfos.First(x => x.PackFullName == abFilePath));
 }