程序中有两个按钮,我想在点击其中一个的时候动态的修改另外一个按钮的图片,请问有什么方法没有?
我尝试修改了_normalFileName,但是按钮并没有变化。
Hi,ying1248.
Button supported use loadTextureNormal to change the texture,like:
button.loadTextureNormal("res/test.png");
button.ignoreContentAdaptWithSize(false)