refactor : 重构代码

This commit is contained in:
何冠峰
2026-01-17 17:06:57 +08:00
parent da222c6179
commit e10888de93
13 changed files with 42 additions and 43 deletions
@@ -57,7 +57,7 @@ namespace YooAsset
#elif UNITY_STANDALONE_LINUX
url = StringUtility.Format("file:///root/{0}", path);
#else
throw new System.NotSupportedException($"[{nameof(DownloadSystemHelper.ConvertToWWWPath)}] not implemented platform: {UnityEngine.Application.platform}");
throw new System.NotSupportedException($"[{nameof(DownloadSystemHelper.ConvertToWWWPath)}] Platform '{UnityEngine.Application.platform}' is not supported!");
#endif
// For some special cases when users have special characters in their devices, url paths can not be identified correctly.