EditorToolbarDropdown
Constructor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor
EditorToolbarDropdown()
Constructor.
public EditorToolbarDropdown()
EditorToolbarDropdown(Action)
Constructor.
public EditorToolbarDropdown(Action clickEvent)
Parameters
Action triggered when the button is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu.
EditorToolbarDropdown(string, Action)
Constructor.
public EditorToolbarDropdown(string text, Action clickEvent)
Parameters
The text associated with the element.
Action triggered when the button is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu.
EditorToolbarDropdown(Texture2D, Action)
Constructor.
public EditorToolbarDropdown(Texture2D icon, Action clickEvent)
Parameters
The icon associated with the element.
Action triggered when the button is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu.
EditorToolbarDropdown(string, Texture2D, Action)
Constructor.
public EditorToolbarDropdown(string text, Texture2D icon, Action clickEvent)
Parameters
The text associated with the element.
The icon associated with the element.
Action triggered when the button is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu.