Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorToolbarSlider

Constructor for the EditorToolbarSlider.
Read time 1 minuteLast updated 12 days ago

Definition

EditorToolbarSlider()

Constructor for the EditorToolbarSlider.
public EditorToolbarSlider()

EditorToolbarSlider(string, float, float)

Constructor for the EditorToolbarSlider.
public EditorToolbarSlider(string text, float start, float end)

Parameters

text

The text associated with the slider.

start

The start value of the slider, it has to be lower than the end value.

The end value of the slider, it has to be higher than the start value.

EditorToolbarSlider(Texture2D, float, float)

Constructor for the EditorToolbarSlider.
public EditorToolbarSlider(Texture2D icon, float start, float end)

Parameters

The icon associated with the slider.

start

The start value of the slider, it has to be lower than the end value.

The end value of the slider, it has to be higher than the start value.

EditorToolbarSlider(string, Texture2D, float, float)

Constructor for the EditorToolbarSlider.
public EditorToolbarSlider(string text, Texture2D icon, float start, float end)

Parameters

text

The text associated with the slider.

The icon associated with the slider.

start

The start value of the slider, it has to be lower than the end value.

The end value of the slider, it has to be higher than the start value.