C# Class BBGamelib.CCMenu

Inheritance: CCLayerRGBA
Afficher le fichier Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Méthodes publiques

Méthode Description
CCMenu ( ) : UnityEngine
CCMenu ( List arrayOfItems ) : UnityEngine
addChild ( CCNode child, int z, string tag ) : void
alignItemsHorizontally ( ) : void
alignItemsHorizontallyWithPadding ( float padding ) : void
alignItemsInColumns ( ) : void
alignItemsInColumnsWithArray ( int rows ) : void
alignItemsInRows ( ) : void
alignItemsVertically ( ) : void
alignItemsVerticallyWithPadding ( float padding ) : void
ccTouchBegan ( UITouch touch ) : bool
ccTouchCancelled ( UITouch touch ) : void
ccTouchEnded ( UITouch touch ) : void
ccTouchMoved ( UITouch touch ) : void
onExit ( ) : void
setHandlerPriority ( int newPriority ) : void

Méthodes protégées

Méthode Description
init ( ) : void
initWithArray ( List arrayOfItems ) : void

Private Methods

Méthode Description
alignItemsInRowsWithArray ( int columns ) : void
itemForTouch ( UITouch touch ) : CCMenuItem

Method Details

CCMenu() public méthode

public CCMenu ( ) : UnityEngine
Résultat UnityEngine

CCMenu() public méthode

public CCMenu ( List arrayOfItems ) : UnityEngine
arrayOfItems List
Résultat UnityEngine

addChild() public méthode

public addChild ( CCNode child, int z, string tag ) : void
child CCNode
z int
tag string
Résultat void

alignItemsHorizontally() public méthode

public alignItemsHorizontally ( ) : void
Résultat void

alignItemsHorizontallyWithPadding() public méthode

public alignItemsHorizontallyWithPadding ( float padding ) : void
padding float
Résultat void

alignItemsInColumns() public méthode

public alignItemsInColumns ( ) : void
Résultat void

alignItemsInColumnsWithArray() public méthode

public alignItemsInColumnsWithArray ( int rows ) : void
rows int
Résultat void

alignItemsInRows() public méthode

public alignItemsInRows ( ) : void
Résultat void

alignItemsVertically() public méthode

public alignItemsVertically ( ) : void
Résultat void

alignItemsVerticallyWithPadding() public méthode

public alignItemsVerticallyWithPadding ( float padding ) : void
padding float
Résultat void

ccTouchBegan() public méthode

public ccTouchBegan ( UITouch touch ) : bool
touch UITouch
Résultat bool

ccTouchCancelled() public méthode

public ccTouchCancelled ( UITouch touch ) : void
touch UITouch
Résultat void

ccTouchEnded() public méthode

public ccTouchEnded ( UITouch touch ) : void
touch UITouch
Résultat void

ccTouchMoved() public méthode

public ccTouchMoved ( UITouch touch ) : void
touch UITouch
Résultat void

init() protected méthode

protected init ( ) : void
Résultat void

initWithArray() protected méthode

protected initWithArray ( List arrayOfItems ) : void
arrayOfItems List
Résultat void

onExit() public méthode

public onExit ( ) : void
Résultat void

setHandlerPriority() public méthode

public setHandlerPriority ( int newPriority ) : void
newPriority int
Résultat void