style : file system code style

This commit is contained in:
何冠峰
2025-07-01 11:06:41 +08:00
parent 1b0288fcd0
commit e3a12ef361
5 changed files with 7 additions and 6 deletions
@@ -84,7 +84,7 @@ namespace YooAsset
// 创建新的下载器
DefaultDownloadFileOperation newDownloader;
if (string.IsNullOrEmpty(options.ImportFilePath))
if (string.IsNullOrEmpty(options.LocalFilePath))
{
// 远端下载地址
options.MainURL = _fileSystem.RemoteServices.GetRemoteMainURL(bundle.FileName);
@@ -107,7 +107,7 @@ namespace YooAsset
else
{
// 注意:把本地文件路径指定为可下载地址
options.MainURL = DownloadSystemHelper.ConvertToWWWPath(options.ImportFilePath);
options.MainURL = DownloadSystemHelper.ConvertToWWWPath(options.LocalFilePath);
options.FallbackURL = options.MainURL;
// 创建新的下载器