通过js改变场景文件中Sprite(精灵)中的图片

  • 如何通过js改变场景文件中Sprite(精灵)中的图片,不管怎么改都无法被调用

this.node.getComponent(cc.Sprite).spriteFrame