需要如何设置一下吗? 虽然也可以运行,但是报错真的不能忍受。
<cc.SpriteFrame>spriteFrame,前面加个强转咯
(err,spriteFrame:cc,SpriteFrame)==>{}
这个也可以的!!