EditorToolbarDropdown
A clickable dropdown used with EditorToolbarElementAttribute.
Read time 10 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor
- Inherits from: EditorToolbarButton
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<string>, ITextEdition, ITextElementExperimentalFeatures, IExperimentalFeatures, ITextSelection
public class EditorToolbarDropdown : EditorToolbarButton, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<string>, ITextEdition, ITextElementExperimentalFeatures, IExperimentalFeatures, ITextSelection
Constructors
Constructor | Description |
|---|---|
| EditorToolbarDropdown() | Constructor. |
| EditorToolbarDropdown(System.Action) | Constructor. |
| EditorToolbarDropdown(System.String,System.Action) | Constructor. |
| EditorToolbarDropdown(System.String,UnityEngine.Texture2D,System.Action) | Constructor. |
| EditorToolbarDropdown(UnityEngine.Texture2D,System.Action) | Constructor. |