Update AssetBundleBuilder

This commit is contained in:
hevinci
2022-08-15 10:30:10 +08:00
parent b5be5b60da
commit aba68f859f
3 changed files with 1 additions and 8 deletions

View File

@@ -74,7 +74,6 @@ namespace YooAsset.Editor
foreach (var bundleInfo in buildMapContext.BundleInfos)
{
var bundleName = bundleInfo.BundleName;
string contentHash = bundleInfo.ContentHash;
string fileHash = bundleInfo.FileHash;
string fileCRC = bundleInfo.FileCRC;
long fileSize = bundleInfo.FileSize;
@@ -83,7 +82,7 @@ namespace YooAsset.Editor
bool isBuildin = IsBuildinBundle(tags, buildinTags);
bool isRawFile = bundleInfo.IsRawFile;
PatchBundle patchBundle = new PatchBundle(bundleName, contentHash, fileHash, fileCRC, fileSize, tags);
PatchBundle patchBundle = new PatchBundle(bundleName, fileHash, fileCRC, fileSize, tags);
patchBundle.SetFlagsValue(isEncrypted, isBuildin, isRawFile);
result.Add(patchBundle);
}