From f57b354e9b9136b950a3a3cec7c0dd0a1a0fe451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Wed, 26 Mar 2025 11:45:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=20UWP=E5=B9=B3=E5=8F=B0=E7=9A=84?= =?UTF-8?q?=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复UWP平台获取WWW加载路径未适配的问题。 --- Assets/YooAsset/Runtime/DownloadSystem/DownloadSystemHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystemHelper.cs b/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystemHelper.cs index 8651975d..e127f351 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystemHelper.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystemHelper.cs @@ -67,7 +67,7 @@ namespace YooAsset } #elif UNITY_STANDALONE_OSX url = new System.Uri(path).ToString(); -#elif UNITY_STANDALONE +#elif UNITY_STANDALONE || UNITY_WSA url = StringUtility.Format("file:///{0}", path); #else throw new System.NotImplementedException();