标签:状态 button color tag res ase mil logo span
ButtonToolOff3 = {
Type = "Button",
Tag = 8,
ZOrder = 1,
File = {normal = "new_UI/djlogo3_off.png"},
Position = {0.28,0.8},
AnchorPoint = {0.5,0.5},
Size = {0,0.20},
Functions = {clicked = "ChooseLayer.onButtonClicked",pressed = "ChooseLayer.onButtonPressed",released = "ChooseLayer.onButtonReleased"},
},
解决办法:在File路径里加入normal
所有的按钮的File路径都需要加入normal,按钮分点击状态和普通状态。
[cocos-quick]按钮因为文件载入路径没加normal导致看不到
标签:状态 button color tag res ase mil logo span
原文地址:http://www.cnblogs.com/Faiz-room/p/5989706.html