Syntax
Lua |
---|
function MenuItem:MenuItem(text); |
Parameters
- text
-
Type:
string
The text to use for the menu item.
Remarks
Constructs a new menu item with the specified text.
Lua |
---|
function MenuItem:MenuItem(text); |