添加资源打包上传的管线

main
zhouzhuo 2025-08-04 17:58:39 +08:00
parent eea0b0ca83
commit 467ce252a2
185 changed files with 4280 additions and 3 deletions

View File

@ -149,7 +149,7 @@ public static class BuildBundlesHelper
private static void MakeAtlas(string dirPath)
{
string[] allPics = Directory.GetFiles(dirPath, "*.png", SearchOption.TopDirectoryOnly);
string[] allPics = Directory.GetFiles(dirPath, "*.png", SearchOption.AllDirectories);
if (allPics.Length == 0)
{
Debug.LogError($"不存在的图:{dirPath}");
@ -170,7 +170,7 @@ public static class BuildBundlesHelper
}
Debug.LogError(sprites.Count);
AtlasUtils.CreateAtlas($"profile", sprites, dirPath);
AtlasUtils.CreateAtlas($"profile_atlas", sprites, dirPath);
}
#endregion
@ -232,4 +232,4 @@ public static class BuildBundlesHelper
AssetDatabase.SaveAssetIfDirty(setting);
}
}
}

Some files were not shown because too many files have changed in this diff Show More