Merge pull request #190 from zy020118/patch-1

Update DownloadManager.cs
This commit is contained in:
何冠峰
2023-10-25 14:13:29 +08:00
committed by GitHub

View File

@@ -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
}
}
}
}
}