Beta Documentation - Subject to change.

Constructs a new menu item.

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.

See Also