mirror of https://github.com/tuyoogame/YooAsset
fix #175
parent
c8ab0a43dd
commit
45b016ae0f
|
@ -41,6 +41,8 @@ namespace YooAsset
|
||||||
return StringUtility.Format("file://{0}", path);
|
return StringUtility.Format("file://{0}", path);
|
||||||
#elif UNITY_ANDROID
|
#elif UNITY_ANDROID
|
||||||
return path;
|
return path;
|
||||||
|
#elif UNITY_STANDALONE_OSX
|
||||||
|
return new System.Uri(path).ToString();
|
||||||
#elif UNITY_STANDALONE
|
#elif UNITY_STANDALONE
|
||||||
return StringUtility.Format("file:///{0}", path);
|
return StringUtility.Format("file:///{0}", path);
|
||||||
#elif UNITY_WEBGL
|
#elif UNITY_WEBGL
|
||||||
|
|
Loading…
Reference in New Issue