ColorSetting
Has a Color as value
Last updated
Has a Color as value
Last updated
new ColorSetting(String name, String description,
value, boolean allowAlphaChange)
Creates a new ColorSetting
, setting allowAlphaChange
to false
will make it so the alpha of the color is not changeable by the user.
getValue():
Returns the current value of the setting.
setValue(
value): void
Sets the value of the setting.
getName(): String
Gives the name of the setting.
getDescription(): String
Returns the description of the setting.
setHidden(boolean hidden): void
Allows you to hide a setting from the menu.
setHidden()
only works on settings that have been initiated by scripts in the first place!
isHidden(boolean hidden): void
Allows you to hide a setting from the menu.