[Setting] setting = client.setting.addFloat(name, variableName, minimum, maximum)
Adds a float slider in the UI
Parameters
name
stringThe name of the setting in the UI
variableName
stringThe name of the global variable that contains the setting value
minimum
numberThe minimum value of this setting
maximum
numberThe maximum value of this setting
Return Value
setting
SettingThe setting that was added