update samples

pull/62/head
hevinci 2022-12-17 18:08:49 +08:00
parent d6984f0ad4
commit b287dfedcf
2 changed files with 3 additions and 3 deletions

View File

@ -106,11 +106,11 @@ namespace YooAsset.Editor
// 加载补丁清单1 // 加载补丁清单1
byte[] bytesData1 = FileUtility.ReadAllBytes(_patchManifestPath1); byte[] bytesData1 = FileUtility.ReadAllBytes(_patchManifestPath1);
PatchManifest patchManifest1 = PatchManifest.DeserializeFromBinary(bytesData1); PatchManifest patchManifest1 = PatchManifestTools.DeserializeFromBinary(bytesData1);
// 加载补丁清单1 // 加载补丁清单1
byte[] bytesData2 = FileUtility.ReadAllBytes(_patchManifestPath2); byte[] bytesData2 = FileUtility.ReadAllBytes(_patchManifestPath2);
PatchManifest patchManifest2 = PatchManifest.DeserializeFromBinary(bytesData2); PatchManifest patchManifest2 = PatchManifestTools.DeserializeFromBinary(bytesData2);
// 拷贝文件列表 // 拷贝文件列表
foreach (var patchBundle2 in patchManifest2.BundleList) foreach (var patchBundle2 in patchManifest2.BundleList)

View File

@ -52,7 +52,7 @@ namespace YooAsset.Editor
// 加载补丁清单 // 加载补丁清单
byte[] bytesData = FileUtility.ReadAllBytes(patchManifestFilePath); byte[] bytesData = FileUtility.ReadAllBytes(patchManifestFilePath);
PatchManifest patchManifest = PatchManifest.DeserializeFromBinary(bytesData); PatchManifest patchManifest = PatchManifestTools.DeserializeFromBinary(bytesData);
// 拷贝核心文件 // 拷贝核心文件
{ {