From ef31d5a9385ca6fdcdbe7bc9f1553b0f8ec61af9 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 14 Feb 2023 11:40:35 +0800 Subject: [PATCH] update asset system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复资源加载代码逻辑错误。 --- Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index 0ddabbd..0d59827 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -350,7 +350,7 @@ namespace YooAsset return loader; // 新增下载需求 -#if !UNITY_WEBGL +#if UNITY_WEBGL if (bundleInfo.Bundle.IsRawFile) loader = new RawBundleFileLoader(this, bundleInfo); else