From 340a69b2515e6c7d19bc76f86d37e19b28cbc77b Mon Sep 17 00:00:00 2001 From: Nocye Date: Thu, 22 Jun 2023 20:16:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8Dtag=E6=B2=A1=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Runtime/PackageSystem/PlayMode/HostPlayModeImpl.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Runtime/PackageSystem/PlayMode/HostPlayModeImpl.cs b/Assets/YooAsset/Runtime/PackageSystem/PlayMode/HostPlayModeImpl.cs index 1e6deff..0687fcc 100644 --- a/Assets/YooAsset/Runtime/PackageSystem/PlayMode/HostPlayModeImpl.cs +++ b/Assets/YooAsset/Runtime/PackageSystem/PlayMode/HostPlayModeImpl.cs @@ -397,8 +397,10 @@ namespace YooAsset continue; } - bundle.HasTag(tags); - neetDownloadList.Add(bundle); + if (bundle.HasTag(tags)) + { + neetDownloadList.Add(bundle); + } } return neetDownloadList;