2.0升级3.0求助

代码sprite.spriteFrame=new cc.SpriteFrame(this.texture, newRect)
升级到3.0 应该怎么写啊,真的掉头发啊

image