谢谢你详细说明你想做什么。如果你想在Unity中结合逐帧动画,可以使用BoneFollower组件和SkeletonRenderSeparator,这样序列图像可以跟随你的骨架的某根骨头,你可以把图像放在你喜欢的任何一层。:
spine-unity Runtime Documentation: BoneFollower
spine-unity Runtime Documentation: SkeletonRenderSeparator
从Spine导出时,为了分离每一帧,你可以使用pack.json。它允许你为每个文件夹设置纹理打包器的设置。例如,如果你为装有你想分离的图片的文件夹指定一个小的maxWidth
和maxHeight
,你可以让它每帧打包一页。更多信息请参见用户指南的下面一页。
纹理打包 - Spine用户指南: JSON配置
===
Thank you for elaborating on what you want to do. If you would like to combine the frame-by-frame animation in Unity, the BoneFollower component and SkeletonRenderSeparator could be used so that the sequence images can follow a bone of your skeleton and you can put the images on any layer you like:
spine-unity Runtime Documentation: BoneFollower
spine-unity Runtime Documentation: SkeletonRenderSeparator
To separate each frame when exporting from Spine, you can use pack.json. It allows you to set the texture packer settings for each folder. For example, if you specify a small maxWidth
and maxHeight
for the folder with images you want to separate, you could make it so that one page is packed per frame. Please see the following page of the user guide for more information:
纹理打包 - Spine用户指南: JSON配置