📋Menu

Table to work with Menu.

Find(firstTabName: string, sectionName: string, secondTabName: string, thirdTabName: string, groupTabName: string, widgetName: string, attachmentName: string, widgetInGearName: string): CMenuSwitch|CMenuBind|CMenuSliderFloat|CMenuSliderInt|CMenuColorPicker|CMenuComboBox|CMenuButton|CMenuMultiComboBox|CMenuMultiSelect|CMenuInputBox|CMenuLabel|nil

Name
Type
Description

firstTabName

string

sectionName

string

secondTabName

string

thirdTabName

string

groupTabName

string

widgetName

string

attachmentName

string

widgetInGearName

string

Returns menu item.


Create(firstTabName: string, sectionName: string, secondTabName: string, thirdTabName: string, groupTabName: string): CMenuGroup

Name
Type
Description

firstTabName

string

sectionName

string

secondTabName

string

thirdTabName

string

groupTabName

string

Creates tab/section/group. Returns menu item.


Style(styleColor: string): Color

Name
Type
Description

styleColor

string

Creates tab/section/group. Returns color of specified style var or table of all style colors depends on param.


Opened(): boolean

Returns current menu open state.


Alpha(): number

Returns current menu alpha.


Pos(): Vec2

Returns current menu pos.


Size(): Vec2

Returns current menu size.


Scale(): integer

Returns current menu scale percentage.


AnimDuration(): number

Returns current menu animation duration.

Last updated