ドキュメント

Unity Engine

Unity Engine

EditorToolbarDropdown

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

Definition

EditorToolbarDropdown()

Constructor.
public EditorToolbarDropdown()

EditorToolbarDropdown(Action)

Constructor.
public EditorToolbarDropdown(Action clickEvent)

Parameters

clickEvent

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

text

The text associated with the element.

clickEvent

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.

clickEvent

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

text

The text associated with the element.

The icon associated with the element.

clickEvent

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