- 수정됨
如何动态修改数字???
动画里面有个0到9的数字图片
我想在代码里修改这个值
比如修改成123456
我使用的是cocos2dx-cpp
7일 후
我们很抱歉回复晚了! 最简单的方法是使用一个包含所有 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