From b287dfedcf77a56afff54ca60e47d2772c2583b3 Mon Sep 17 00:00:00 2001 From: hevinci Date: Sat, 17 Dec 2022 18:08:49 +0800 Subject: [PATCH] update samples --- .../Extension Sample/Scripts/Editor/PatchCompareWindow.cs | 4 ++-- .../Extension Sample/Scripts/Editor/PatchImportWindow.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); // 拷贝核心文件 {