refactor : editor code

This commit is contained in:
hevinci
2023-12-25 14:19:55 +08:00
parent 82b2a5cc20
commit e8e7696a4d
19 changed files with 250 additions and 195 deletions

View File

@@ -29,9 +29,9 @@ namespace YooAsset.Editor
foreach (var bundleInfo in buildMapContext.Collection)
{
string dest = $"{pipelineOutputDirectory}/{bundleInfo.BundleName}";
foreach (var assetInfo in bundleInfo.MainAssets)
foreach (var buildAsset in bundleInfo.MainAssets)
{
EditorTools.CopyFile(assetInfo.AssetPath, dest, true);
EditorTools.CopyFile(buildAsset.AssetInfo.AssetPath, dest, true);
}
}
}