Merge pull request #520 from SongQQQ/fix-UWPError

修复了UWP平台报错
This commit is contained in:
何冠峰
2025-03-26 14:35:24 +08:00
committed by GitHub

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