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