cocos2d-js3.15 spine使用中遇到的坑

var spineBoy = sp.SkeletonAnimation.createWithJsonFile('spine/shuyao.json', 'spine/shuyao.atlas', 0.6);
spineBoy.setAnimation(0, 'wait', true);

运行异常 Assert failed: Unknown attachment type: skinnedmesh,骨骼文件导出的json中type为skinnedmesh,改为mesh

posted @ 2017-10-18 15:17  木水枫  阅读(4100)  评论(1编辑  收藏  举报