diff --git a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs index 1e57a90..a56d8e0 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchCompareWindow.cs @@ -106,11 +106,11 @@ namespace YooAsset.Editor // 加载补丁清单1 byte[] bytesData1 = FileUtility.ReadAllBytes(_patchManifestPath1); - PatchManifest patchManifest1 = PatchManifest.DeserializeFromBinary(bytesData1); + PatchManifest patchManifest1 = PatchManifestTools.DeserializeFromBinary(bytesData1); // 加载补丁清单1 byte[] bytesData2 = FileUtility.ReadAllBytes(_patchManifestPath2); - PatchManifest patchManifest2 = PatchManifest.DeserializeFromBinary(bytesData2); + PatchManifest patchManifest2 = PatchManifestTools.DeserializeFromBinary(bytesData2); // 拷贝文件列表 foreach (var patchBundle2 in patchManifest2.BundleList) diff --git a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs index 332dce4..184faba 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs @@ -52,7 +52,7 @@ namespace YooAsset.Editor // 加载补丁清单 byte[] bytesData = FileUtility.ReadAllBytes(patchManifestFilePath); - PatchManifest patchManifest = PatchManifest.DeserializeFromBinary(bytesData); + PatchManifest patchManifest = PatchManifestTools.DeserializeFromBinary(bytesData); // 拷贝核心文件 {