Version: 2023.2

EditorToolbarElementAttributeConstructor

切换到手册
public EditorToolbarElementAttribute (string id, params Type[] targetWindows);

参数

id Element's ID.
targetWindows Targeted contexts.

描述

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