fix : UWP平台的适配问题。

修复UWP平台获取WWW加载路径未适配的问题。
dev
何冠峰 2025-03-26 11:45:50 +08:00
parent 974493f88d
commit f57b354e9b
1 changed files with 1 additions and 1 deletions

View File

@ -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();