Closed shrimpz closed 8 years ago
Why not just access the skeleton directly? I'd rather not add methods to get/set the flip x/y, bones, slots, etc.
i'm sorry, i'm weak in English.
Because I use Spine in Cocos2d-x's Lua Version, if access Skeleton directly, I must wrap Skeleton to Lua, in Lua, i must write code like follow:
sa:skeleton.flipX = 1
but write follow, I needn't wrap Skeleton to Lua, and Lua Call quickly...
sa:setFlipX(true)
Add follow code to CCSkeletonAnimation.h