rekcah1986
如果你使用--project
参数,Spine将能够引用指定项目中的网格,并将其打包并去除空白。这不是为了让你忽略未使用的图像文件。
If you use the --project
parameter, Spine will be able to refer to the meshes in the specified project and pack them with removing whitespace. It is not for allowing you to ignore unused image files.
如果你想忽略未使用的图像文件,把它们放在一个子文件夹里,并把pack.json放在那里,内容如下。:
If you want to ignore unused image files, put them in a subfolder and place pack.json there with the following content:
{
ignore: true
}
包含上述内容的pack.json所在的子文件夹中的图片在打包时将会被忽略。如果你想了解更多关于pack.json的信息,请参见《Spine用户指南》的这一部分。:
Images in a subfolder where pack.json with the above is located will be ignored when packed. If you would like to know more about pack.json, please see this section of the Spine User Guide: https://zh.esotericsoftware.com/spine-texture-packer#JSON%E9%85%8D%E7%BD%AE