Compare commits

..

1 Commits

Author SHA1 Message Date
Y-way
36f5770906 Merge bdcf95384f into 0531864534 2025-03-10 16:15:38 +08:00
2 changed files with 4 additions and 13 deletions

View File

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

View File

@@ -92,16 +92,9 @@ namespace YooAsset
if (_fileSystem.AppendFileExtension)
{
string dataFileExtension = FindDataFileExtension(chidDirectory);
if (string.IsNullOrEmpty(dataFileExtension))
{
//注意:覆盖安装的情况下,缓存文件可能会没有后缀格式,需要删除重新下载!
dataFilePath = string.Empty;
}
else
{
if (string.IsNullOrEmpty(dataFileExtension) == false)
dataFilePath += dataFileExtension;
}
}
var element = new VerifyFileElement(_fileSystem.PackageName, bundleGUID, fileRootPath, dataFilePath, infoFilePath);
Result.Add(element);