testaaa111

动画里面有个0到9的数字图片
我想在代码里修改这个值
比如修改成123456

我使用的是cocos2dx-cpp
You do not have the required permissions to view the files attached to this post.
testaaa111
  • Posts: 1

Harald

我们很抱歉回复晚了! 最简单的方法是使用一个包含所有 10 位数字作为附件的插槽,然后您可以像往常一样更改附件:
Skeleton setAttachment
-----
We are sorry for the late reply! The easiest way would be to use a Slot that holds all 10 digits as Attachments, then you can change the Attachments as you normally would:
Skeleton setAttachment
User avatar
Harald

Harri
  • Posts: 3469


Return to 中国Spine用户