update YooAssetSettings

This commit is contained in:
何冠峰
2025-02-06 16:43:55 +08:00
parent 38471cdd6c
commit 20c07af504
9 changed files with 51 additions and 63 deletions

View File

@@ -37,8 +37,7 @@ namespace YooAsset
#if UNITY_EDITOR
// 兼容性初始化
// 说明:内置文件系统在编辑器下运行时需要动态生成
string buildinRoot = YooAssetSettingsData.GetYooEditorBuildinRoot();
string packageRoot = PathUtility.Combine(buildinRoot, _fileSystem.PackageName);
string packageRoot = _fileSystem.FileRoot;
bool result = DefaultBuildinFileSystemBuild.CreateBuildinCatalogFile(_fileSystem.PackageName, packageRoot);
if (result == false)
{