pull/509/head
何冠峰 2025-03-12 10:39:44 +08:00
parent a4111349a0
commit b334a4986b
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ namespace YooAsset
string url;
// 获取对应平台的URL地址
#if UNITY_EDITOR
#if UNITY_EDITOR_OSX
url = StringUtility.Format("file://{0}", path);
#elif UNITY_EDITOR
url = StringUtility.Format("file:///{0}", path);
#elif UNITY_WEBGL
url = path;