Constructor
TextMenuItemComponent(text: string|Text, callback: function?, options: table?)
Arguments:
| text: string|Text | The Text object, made for displaying formatted text. If you're looking for text which writes itself out over time, see |
| callback: function? | |
| options: table? |
Methods
TextMenuItemComponent:onHovered(hovered: boolean, initial: boolean)
Arguments:
| hovered: boolean | |
| initial: boolean |
Fields
TextMenuItemComponent.text: Text
The Text object, made for displaying formatted text.
If you're looking for text which writes itself out over time, see DialogueText.