C# Class BBGamelib.CCMenuItem

Inheritance: CCNodeRGBA
Mostrar archivo Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Protected Properties

Property Type Description
_activeArea UnityEngine.Rect
_block CCMenuItemDelegate
_isEnabled bool
_isSelected bool
_releaseBlockAtCleanup bool

Public Methods

Method Description
CCMenuItem ( ) : UnityEngine
CCMenuItem ( CCMenuItemDelegate selector ) : UnityEngine
activate ( ) : void
cleanup ( ) : void
selected ( ) : void
setBlock ( CCMenuItemDelegate block ) : void
unselected ( ) : void

Protected Methods

Method Description
init ( ) : void
initWithBlock ( CCMenuItemDelegate block ) : void

Method Details

CCMenuItem() public method

public CCMenuItem ( ) : UnityEngine
return UnityEngine

CCMenuItem() public method

public CCMenuItem ( CCMenuItemDelegate selector ) : UnityEngine
selector CCMenuItemDelegate
return UnityEngine

activate() public method

public activate ( ) : void
return void

cleanup() public method

public cleanup ( ) : void
return void

init() protected method

protected init ( ) : void
return void

initWithBlock() protected method

protected initWithBlock ( CCMenuItemDelegate block ) : void
block CCMenuItemDelegate
return void

selected() public method

public selected ( ) : void
return void

setBlock() public method

public setBlock ( CCMenuItemDelegate block ) : void
block CCMenuItemDelegate
return void

unselected() public method

public unselected ( ) : void
return void

Property Details

_activeArea protected_oe property

protected Rect,UnityEngine _activeArea
return UnityEngine.Rect

_block protected_oe property

protected CCMenuItemDelegate _block
return CCMenuItemDelegate

_isEnabled protected_oe property

protected bool _isEnabled
return bool

_isSelected protected_oe property

protected bool _isSelected
return bool

_releaseBlockAtCleanup protected_oe property

protected bool _releaseBlockAtCleanup
return bool