This commit is contained in:
hevinci
2024-02-20 11:31:27 +08:00
parent 88a1184877
commit 0a7a883aae

View File

@@ -15,7 +15,10 @@ namespace YooAsset
#elif UNITY_IPHONE
return StringUtility.Format("file://{0}", path);
#elif UNITY_ANDROID
return path;
if (path.StartsWith("jar:file//"))
return path;
else
return StringUtility.Format("jar:file://{0}", path);
#elif UNITY_STANDALONE_OSX
return new System.Uri(path).ToString();
#elif UNITY_STANDALONE