refactor : 重构网络下载模块

This commit is contained in:
何冠峰
2026-01-07 15:52:32 +08:00
parent 9b83dcf723
commit f0563cce0b
4 changed files with 9 additions and 7 deletions
@@ -57,7 +57,7 @@ namespace YooAsset
#elif UNITY_STANDALONE_LINUX
url = StringUtility.Format("file:///root/{0}", path);
#else
throw new System.NotImplementedException();
throw new System.NotSupportedException($"[{nameof(DownloadSystemHelper.ConvertToWWWPath)}] not implemented platform: {UnityEngine.Application.platform}");
#endif
// For some special cases when users have special characters in their devices, url paths can not be identified correctly.
@@ -82,4 +82,4 @@ namespace YooAsset
return false;
}
}
}
}