diff --git a/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs b/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs
index c384543..d0b6f44 100644
--- a/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs
+++ b/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs
@@ -11,6 +11,10 @@ namespace YooAsset
///
public abstract class UpdateManifestOperation : AsyncOperationBase
{
+ ///
+ /// 是否发现了新的补丁清单
+ ///
+ public bool FoundNewManifest { protected set; get; }
}
///
@@ -114,11 +118,13 @@ namespace YooAsset
{
YooLogger.Log($"Patch manifest file hash is not change : {webManifestHash}");
LoadSandboxPatchManifest(_resourceVersion);
+ FoundNewManifest = false;
_steps = ESteps.InitVerifyingCache;
}
else
{
YooLogger.Log($"Patch manifest hash is change : {webManifestHash} -> {cachedManifestHash}");
+ FoundNewManifest = true;
_steps = ESteps.LoadWebManifest;
}
}