/// <summary> /// 解压AssetBundle.zip文件到PresistentData /// </summary> private void DecompressInstallFile() { //检查磁盘空间是否满足大小 todo if ((long)Math.Ceiling(installZipDecompressSize * 1.1f) > MobileSystemInfo.GetFreeDiskSpace()) { //磁盘空间不足 } else { ZipUtility.DeCompressionFile( PathUtility.GetCombinePath(AppConst.Path.InstallDataPath, AppConst.AssetBundleConfig.AssetBundlePackageFile), AppConst.Path.PresistentDataPath, installZipDecompressPassword); } }