Метод | Описание | |
---|---|---|
AddBool ( this menu, string name, string displayName, bool defaultValue = false ) : MenuItem |
Adds a bool to the menu.
|
|
AddKeybind ( this menu, string name, string displayName, KeyBindType>.Tuple |
Adds a keybind.
|
|
AddSlider ( this menu, string name, string displayName, Tuple |
Adds a slider.
|
|
AddSlider ( this menu, string name, string displayName, int value, int min, int max ) : MenuItem |
Adds a slider.
|
|
AddStringList ( this menu, string name, string displayName, string value, int index ) : MenuItem |
Adds a string list.
|
|
AddText ( this menu, string name, string displayName ) : MenuItem |
Adds a text.
|
public static AddBool ( this menu, string name, string displayName, bool defaultValue = false ) : MenuItem | ||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
defaultValue | bool | the default value for the item. |
Результат | MenuItem |
public static AddKeybind ( this menu, string name, string displayName, KeyBindType>.Tuple |
||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
value | KeyBindType>.Tuple | The value. |
Результат | MenuItem |
public static AddSlider ( this menu, string name, string displayName, Tuple |
||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
values | Tuple |
The values. |
Результат | MenuItem |
public static AddSlider ( this menu, string name, string displayName, int value, int min, int max ) : MenuItem | ||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
value | int | The value. |
min | int | The minimum value. |
max | int | The maximum value. |
Результат | MenuItem |
public static AddStringList ( this menu, string name, string displayName, string value, int index ) : MenuItem | ||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
value | string | The value. |
index | int | The index. |
Результат | MenuItem |
public static AddText ( this menu, string name, string displayName ) : MenuItem | ||
menu | this | The menu. |
name | string | The name. |
displayName | string | The display name. |
Результат | MenuItem |