mirror of https://github.com/tuyoogame/YooAsset
update samples
parent
d6984f0ad4
commit
b287dfedcf
|
@ -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)
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace YooAsset.Editor
|
|||
|
||||
// 加载补丁清单
|
||||
byte[] bytesData = FileUtility.ReadAllBytes(patchManifestFilePath);
|
||||
PatchManifest patchManifest = PatchManifest.DeserializeFromBinary(bytesData);
|
||||
PatchManifest patchManifest = PatchManifestTools.DeserializeFromBinary(bytesData);
|
||||
|
||||
// 拷贝核心文件
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue