This version of Unity is unsupported.

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.