pull/235/head
hevinci 2023-10-07 18:56:30 +08:00
parent c8ab0a43dd
commit 45b016ae0f
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ namespace YooAsset
return StringUtility.Format("file://{0}", path);
#elif UNITY_ANDROID
return path;
#elif UNITY_STANDALONE_OSX
return new System.Uri(path).ToString();
#elif UNITY_STANDALONE
return StringUtility.Format("file:///{0}", path);
#elif UNITY_WEBGL