添加资源打包上传的管线
parent
eea0b0ca83
commit
467ce252a2
|
|
@ -149,7 +149,7 @@ public static class BuildBundlesHelper
|
||||||
|
|
||||||
private static void MakeAtlas(string dirPath)
|
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)
|
if (allPics.Length == 0)
|
||||||
{
|
{
|
||||||
Debug.LogError($"不存在的图:{dirPath}");
|
Debug.LogError($"不存在的图:{dirPath}");
|
||||||
|
|
@ -170,7 +170,7 @@ public static class BuildBundlesHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.LogError(sprites.Count);
|
Debug.LogError(sprites.Count);
|
||||||
AtlasUtils.CreateAtlas($"profile", sprites, dirPath);
|
AtlasUtils.CreateAtlas($"profile_atlas", sprites, dirPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -232,4 +232,4 @@ public static class BuildBundlesHelper
|
||||||
|
|
||||||
AssetDatabase.SaveAssetIfDirty(setting);
|
AssetDatabase.SaveAssetIfDirty(setting);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue