文档

Unity Engine

Unity Engine

EditorToolbarSlider

A clickable slider used with EditorToolbarElementAttribute.
阅读时间10 分钟最后更新于 1 个月前

Definition

public class EditorToolbarSlider : Slider, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<float>, IValueField<float>

Remarks

Click and drag to change the slider value, or double-click it to directly edit the float value. You can access additional functionalities in the right-click menu.

Static Fields

Value

Description

ussClassNameUSS Class Name used to style the EditorToolbarSlider.

Constructors

Properties

Property

Description

iconThe icon associated with the slider.
textThe text associated with the slider.

Methods

Method

Description

SetValueWithoutNotifyAllow to set a value without being notified of the change, if any.

Inheritance

Inherited Members