C# Class exUIButton, ex2d-v1

Inheritance: exUIElement
Mostra file Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
background exSpriteBase,
clickSlots List
font exSpriteFont,
hoverInSlots List
hoverOutSlots List
pressSlots List
releaseSlots List

Public Methods

Method Description
OnClick ( exUIEvent, _e ) : void
OnEvent ( exUIEvent, _e ) : bool
OnHoverIn ( exUIEvent, _e ) : void
OnHoverOut ( exUIEvent, _e ) : void
OnPress ( exUIEvent, _e ) : void
OnRelease ( exUIEvent, _e ) : void

Protected Methods

Method Description
OnSizeChanged ( float _newWidth, float _newHeight ) : void

Method Details

OnClick() public method

public OnClick ( exUIEvent, _e ) : void
_e exUIEvent,
return void

OnEvent() public method

public OnEvent ( exUIEvent, _e ) : bool
_e exUIEvent,
return bool

OnHoverIn() public method

public OnHoverIn ( exUIEvent, _e ) : void
_e exUIEvent,
return void

OnHoverOut() public method

public OnHoverOut ( exUIEvent, _e ) : void
_e exUIEvent,
return void

OnPress() public method

public OnPress ( exUIEvent, _e ) : void
_e exUIEvent,
return void

OnRelease() public method

public OnRelease ( exUIEvent, _e ) : void
_e exUIEvent,
return void

OnSizeChanged() protected method

protected OnSizeChanged ( float _newWidth, float _newHeight ) : void
_newWidth float
_newHeight float
return void

Property Details

background public_oe property

public exSpriteBase, background
return exSpriteBase,

clickSlots public_oe property

public List clickSlots
return List

font public_oe property

public exSpriteFont, font
return exSpriteFont,

hoverInSlots public_oe property

public List hoverInSlots
return List

hoverOutSlots public_oe property

public List hoverOutSlots
return List

pressSlots public_oe property

public List pressSlots
return List

releaseSlots public_oe property

public List releaseSlots
return List