From 2ff01d10b0f352386080de180a656aa5e3d0b268 Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 5 Aug 2022 14:40:50 +0800 Subject: [PATCH] Update Extension Sample --- .../Extension Sample/Scripts/Editor/PatchImportWindow.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs index 1678da6..9a7299e 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs @@ -84,8 +84,8 @@ namespace YooAsset.Editor foreach (var patchBundle in patchManifest.BundleList) { fileCount++; - string sourcePath = $"{outputDirectory}/{patchBundle.Hash}"; - string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.Hash}"; + string sourcePath = $"{outputDirectory}/{patchBundle.FileName}"; + string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.FileName}"; EditorTools.CopyFile(sourcePath, destPath, true); } } @@ -97,8 +97,8 @@ namespace YooAsset.Editor continue; fileCount++; - string sourcePath = $"{outputDirectory}/{patchBundle.Hash}"; - string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.Hash}"; + string sourcePath = $"{outputDirectory}/{patchBundle.FileName}"; + string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.FileName}"; EditorTools.CopyFile(sourcePath, destPath, true); } }