creator龙骨动画无法暂停。看引擎API有提供一个stop方法。但是调用无效。
let dragonDisplay = this.iconNode.getComponent(dragonBones.ArmatureDisplay);
let armature = dragonDisplay.armature();
armature.animation.stop();//没有效果
请问有什么其他方式吗?
//dragonBones没有暂停方法 所以通过timeScale 将播放速度改为0 实现暂停
this.dragonBones.timeScale = 0