NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
UIImageButton Class Reference

Sample script showing how easy it is to implement a standard button that swaps sprites. More...

Inheritance diagram for UIImageButton:

Public Attributes

UISprite target
 
string normalSprite
 
string hoverSprite
 
string pressedSprite
 
string disabledSprite
 
bool pixelSnap = true
 

Properties

bool isEnabled [get, set]
 

Detailed Description

Sample script showing how easy it is to implement a standard button that swaps sprites.

Member Data Documentation

string UIImageButton.disabledSprite
string UIImageButton.hoverSprite
string UIImageButton.normalSprite
bool UIImageButton.pixelSnap = true
string UIImageButton.pressedSprite
UISprite UIImageButton.target

Property Documentation

bool UIImageButton.isEnabled
getset

The documentation for this class was generated from the following file: