Number Configs
Learn all about the number config components in OneConfig
Common numbers
Slider
@Slider(
name = "You slide me right round baby right round",
min = 0f, max = 100f // min and max values for the slider
// if you like, you can use step to set a step value for the slider,
// giving it little steps that the slider snaps to.
step = 10f
)
public static float slideyboi = 50f; // default value
Number Input
When should you use a slider or number input
Last updated
Was this helpful?