From c3d5c13a8029ab5fb5283e49c5466549fe02be04 Mon Sep 17 00:00:00 2001 From: swift Date: Tue, 24 Oct 2023 14:26:00 +0800 Subject: [PATCH] Update DownloadManager.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WebGL平台改名遗漏 DefaultBuildPipeline->EDefaultBuildPipeline --- Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs b/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs index 34c81a9..6daf127 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs @@ -100,7 +100,7 @@ namespace YooAsset DownloaderBase newDownloader = null; YooLogger.Log($"Beginning to download bundle : {bundleInfo.Bundle.BundleName} URL : {bundleInfo.RemoteMainURL}"); #if UNITY_WEBGL - if (bundleInfo.Bundle.Buildpipeline == DefaultBuildPipeline.RawFileBuildPipelineName) + if (bundleInfo.Bundle.Buildpipeline == EDefaultBuildPipeline.RawFileBuildPipeline.ToString()) { FileUtility.CreateFileDirectory(bundleInfo.CachedDataFilePath); System.Type requesterType = typeof(FileGeneralRequest); @@ -147,4 +147,4 @@ namespace YooAsset } } } -} \ No newline at end of file +}