testaaa111

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

我使用的是cocos2dx-cpp
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
testaaa111
  • Postovi: 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
Avatar
Harald

Harri
  • Postovi: 4002


Natrag na 中国Spine用户