LabelledSlider - LiruJ/GuiCookie GitHub Wiki

Overview

A LabelledSlider controller manages a text label that displays the current value of a slider.

Element Properties

Slider

SliderBar, OnFullSetup(), "Slider"

The SliderBar itself.

Label

ITextable, OnFullSetup(), "Label"

The label used to display the value.

Properties

Prefix

string

The string appended to the start of the label text.

Suffix

string

The string appended to the end of the label text.

IsPercentage

bool

If this is true, the slider value is treated as a scalar, where 0 is shown as 0% and 1 is shown as 100%. The % character is automatically added before the suffix.

⚠️ **GitHub.com Fallback** ⚠️