SliderInt
Constructors for the SliderInt.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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
This is the low value of the slider.
This is the high value of the slider.
This is the slider direction, horizontal or vertical.
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
This is the low value of the slider.
This is the high value of the slider.
This is the slider direction, horizontal or vertical.
This is the number of values to change when the slider is clicked.