new.png是cocostudio导出的大图中的一张小图
image是cocostudio的图片控件
我用如下方法时候image显示的图片没发生改变,求解
local texture = display.newSpriteFrame(“new.png”):getTexture()
imgae:setTexture(texture)
new.png是cocostudio导出的大图中的一张小图
image是cocostudio的图片控件
我用如下方法时候image显示的图片没发生改变,求解
local texture = display.newSpriteFrame(“new.png”):getTexture()
imgae:setTexture(texture)