ドキュメント

Unity Engine

Unity Engine

EditorToolbarDropdownToggle

A control that is both a toggle and a dropdown used with EditorToolbarElementAttribute.
読み終わるまでの所要時間 8 分最終更新 1ヶ月前

Definition

public class EditorToolbarDropdownToggle : BaseField<bool>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<bool>, IMixedValueSupport

Constructors

Properties

Property

Description

dropdownClickableClickable object for this dropdown.
iconThe icon associated with the element.
textThe text associated with the element.

Methods

Method

Description

SetValueWithoutNotifyAllow to set a value without being notified of the change, if any.
ShowDropDownAllow to set the visibility of the drop down button.

Events

Member

Description

dropdownClickedAction triggered when the dropdown is clicked.

Inheritance

Inherited Members