Description
Provides the value (true or false) of a new toggle setting that will appear in the workshop settings card as a checkbox.
Snippet
Workshop Setting Toggle(Custom String(""), Custom String(""), false, 0);
Properties
Returns: Boolean
Parameters: Category, Name, Default, Sort Order
Category
Type: String, Default: Custom String
The name of the category in which this setting will be found.Name
Type: String, Default: Custom String
The name of this setting.Default
Type: Boolean, Default: false
The default value for this setting.Sort Order
Type: Integer, Default: 0
The sort order of the setting relative to other settings in the same category. Settings with a higher sort order will come after settings with a lower sort order.