Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EditorToolbarElementAttribute Constructor

Declaration

public EditorToolbarElementAttribute(string id, params Type[] targetWindows);

Parameters

id Element's ID.
targetWindows Targeted contexts.

Description

The EditorToolbarElement attribute allows you to make available a specific VisualElement for use in an Editor Toolbar.