fix path error

This commit is contained in:
unknown
2024-02-28 10:06:45 +08:00
parent b67868868d
commit d1aca5b675

View File

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