Slider
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public sealed class Slider : SelectableNamespace NodeWorld.Flux.
A Slider of a canvas of the world.
Properties
value
csharp
public float value { get; set; }The value of the slider; setting it runs onValueChanged.
minValue
csharp
public float minValue { get; set; }The value at the start of the slider.
maxValue
csharp
public float maxValue { get; set; }The value at the end of the slider.
wholeNumbers
csharp
public bool wholeNumbers { get; set; }The value is a whole number.
onValueChanged
csharp
public UiEvent<float> onValueChanged { get; }The value changed, with the new value.
Methods
SetValueWithoutNotify
csharp
public void SetValueWithoutNotify(float value)Sets the value without running onValueChanged: to show a value that came from the network.
