update file system

This commit is contained in:
何冠峰
2025-02-13 18:56:24 +08:00
parent a138701afe
commit a6ee571d65
3 changed files with 19 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ namespace YooAsset
if (_bundle.Encrypted)
{
_downloadAssetBundleOp = new DownloadWebEncryptAssetBundleOperation(_fileSystem.DecryptionServices, _bundle, downloadParam);
_downloadAssetBundleOp = new DownloadWebEncryptAssetBundleOperation(true, _fileSystem.DecryptionServices, _bundle, downloadParam);
OperationSystem.StartOperation(_fileSystem.PackageName, _downloadAssetBundleOp);
}
else
@@ -59,7 +59,7 @@ namespace YooAsset
if (_downloadAssetBundleOp.Status == EOperationStatus.Succeed)
{
var assetBundle = _downloadAssetBundleOp.Result;
if(assetBundle == null)
if (assetBundle == null)
{
_steps = ESteps.Done;
Status = EOperationStatus.Failed;