Circular Slider

Options

  • Interactable bool

    Is interactable?

  • Handle DragListener

    Handle to drag.

  • Arrow RectTransform

    Arrow.

  • Value int

    Current value.

  • Min Value int

    Minimal value.

  • Max Value``int``

    Maximal value.

  • Step int

    Value step.

  • Start Angle float

    Angle for the Min Value.

  • ScrollMode CircularSlider.ScrollModes

    Change the value on the mouse scroll.

    • Ignore

      Do not change the value on the mouse scroll.

    • UpIncrease

      Increase the value on the mouse wheel up and decrease on the wheel down.

    • UpDecrease

      Decrease the value on the mouse wheel up and increase on the wheel down.

Events

  • OnValueChanged UnityEvent<int>

  • OnChange UnityEvent

Set value

slider.Value = 150;

Set value limits

slider.MinValue = 100;
slider.MaxValue = 200;