NGUI: Next-Gen UI kit
3.7.2
|
Sample script showing how easy it is to implement a standard button that swaps sprites. More...
Public Attributes | |
UISprite | target |
string | normalSprite |
string | hoverSprite |
string | pressedSprite |
string | disabledSprite |
bool | pixelSnap = true |
Properties | |
bool | isEnabled [get, set] |
Sample script showing how easy it is to implement a standard button that swaps sprites.
string UIImageButton.disabledSprite |
string UIImageButton.hoverSprite |
string UIImageButton.normalSprite |
bool UIImageButton.pixelSnap = true |
string UIImageButton.pressedSprite |
UISprite UIImageButton.target |
|
getset |