ドキュメント

Unity Engine

Unity Engine

EditorToolbarDropdownToggle

Constructor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

EditorToolbarDropdownToggle()

Constructor.
public EditorToolbarDropdownToggle()

EditorToolbarDropdownToggle(Action)

Constructor.
public EditorToolbarDropdownToggle(Action dropdownClickEvent)

Parameters

dropdownClickEvent

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

text

The text associated with the element.

dropdownClickEvent

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.

dropdownClickEvent

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

text

The text associated with the element.

The icon associated with the element.

dropdownClickEvent

Action triggered when the dropdown is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu.