chentongxin if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs是null这是为什么呢附件:DragonBone.zip DragonBone.zip0B
chentongxin 附件是我的dragonbone工程,我的卡槽有两张图片呀!一个是机器人自带的 一个是我加进去的,而且用layaair的工具转换后的Robot.png图片里也能看到。 project.zip0B
qian 用最新版的引擎 [*] function changeAction() { //debugger; if(tActionID%2 == 0) { skeleton0.replaceSlotSkinName("head", "h1-tou5", "robotFolder/head"); } else { skeleton0.replaceSlotSkinName("head", "h1-tou5", "h1-tou5"); //skeleton0.replaceSlotSkinName("head", "robotFolder/head", "h1-tou5"); } tActionID++; } [/*]