Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SliderInt

Constructors for the SliderInt.
Read time 1 minuteLast updated 4 days ago

Definition

SliderInt()

Constructors for the SliderInt.
public SliderInt()

SliderInt(int, int, SliderDirection, float)

Constructors for the SliderInt.
public SliderInt(int start, int end, SliderDirection direction = SliderDirection.Horizontal, float pageSize = 0)

Parameters

start

This is the low value of the slider.

end

This is the high value of the slider.

This is the slider direction, horizontal or vertical.

pageSize

This is the number of values to change when the slider is clicked.

SliderInt(string, int, int, SliderDirection, float)

Constructors for the SliderInt.
public SliderInt(string label, int start = 0, int end = 10, SliderDirection direction = SliderDirection.Horizontal, float pageSize = 0)

Parameters

label


start

This is the low value of the slider.

end

This is the high value of the slider.

This is the slider direction, horizontal or vertical.

pageSize

This is the number of values to change when the slider is clicked.