Méthode | Description | |
---|---|---|
AddOption ( string text ) : IButton |
Adds a new option to the popup menu.
|
|
AddSeparator ( ) : void |
Adds a separator to the popup menu.
|
|
Destroy ( ) : void |
Destroys this drawable. This must always be called before disposing of this drawable.
|
|
Draw ( Vector2 position ) : Vector2 | ||
PopupMenuDrawable ( ) : System | ||
Update ( ) : void |
public AddOption ( string text ) : IButton | ||
text | string | The text of the option. |
Résultat | IButton |