프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_badgeLeft | |||
_badgeRight | |||
_labelText | NativeUI.UIResText | ||
_rectangle | NativeUI.UIResRectangle | ||
_selectedSprite | |||
_text | NativeUI.UIResText |
메소드 | 설명 | |
---|---|---|
Draw ( ) : void |
Draw this item.
|
|
Position ( int y ) : void |
Set item's position.
|
|
SetLeftBadge ( BadgeStyle badge ) : void |
Set the left badge. Set it to None to remove the badge.
|
|
SetRightBadge ( BadgeStyle badge ) : void |
Set the right badge. Set it to None to remove the badge.
|
|
SetRightLabel ( string text ) : void |
Set the right label.
|
|
UIMenuItem ( string text ) : System |
Basic menu button.
|
|
UIMenuItem ( string text, string description ) : System |
Basic menu button.
|
메소드 | 설명 | |
---|---|---|
BadgeToColor ( BadgeStyle badge, bool selected ) : |
||
BadgeToSpriteLib ( BadgeStyle badge ) : string | ||
BadgeToSpriteName ( BadgeStyle badge, bool selected ) : string | ||
ItemActivate ( NativeUI.UIMenu sender ) : void |
public SetRightLabel ( string text ) : void | ||
text | string | Text as label. Set it to "" to remove the label. |
리턴 | void |
public UIMenuItem ( string text, string description ) : System | ||
text | string | Button label. |
description | string | Description. |
리턴 | System |