export default class NewScript extends cc.Component {
@property(cc.Node)
dragonBones: cc.Node;
@property(cc.SpriteFrame)
spriteFrame: cc.SpriteFrame;
onLoad() {
let armatureDisplay = this.getComponent(dragonBones.ArmatureDisplay) as any;
var factory = armatureDisplay._factory;
let _armature = armatureDisplay.armature();
cc.log(factory);
cc.log(_armature);
_armature.replaceTexture(this.spriteFrame);
}
}
没有replaceTexture这个函数。。

1.6版本能支持吗?
我想想用其它办法吧。。