C# Class UIImageButton, Zombayo

Inheritance: MonoBehaviour
Show file Open project: pchernev/Zombayo Class Usage Examples

Public Properties

Property Type Description
disabledSprite string
hoverSprite string
normalSprite string
onClick List
pressedSprite string
target UISprite,

Public Methods

Method Description
OnEnable ( ) : void
OnHover ( bool isOver ) : void
OnPress ( bool pressed ) : void
UpdateImage ( ) : void

Method Details

OnEnable() public method

public OnEnable ( ) : void
return void

OnHover() public method

public OnHover ( bool isOver ) : void
isOver bool
return void

OnPress() public method

public OnPress ( bool pressed ) : void
pressed bool
return void

UpdateImage() public method

public UpdateImage ( ) : void
return void

Property Details

disabledSprite public property

public string disabledSprite
return string

hoverSprite public property

public string hoverSprite
return string

normalSprite public property

public string normalSprite
return string

onClick public property

public List onClick
return List

pressedSprite public property

public string pressedSprite
return string

target public property

public UISprite, target
return UISprite,