mirror of https://github.com/tuyoogame/YooAsset
fix #244
parent
88a1184877
commit
0a7a883aae
|
@ -15,7 +15,10 @@ namespace YooAsset
|
|||
#elif UNITY_IPHONE
|
||||
return StringUtility.Format("file://{0}", path);
|
||||
#elif UNITY_ANDROID
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue