文档

Unity Engine

Unity Engine

EditorToolbarElementAttribute(string, params Type[])

The EditorToolbarElement attribute allows you to make available a specific VisualElement for use in an Editor Toolbar.
阅读时间1 分钟最后更新于 1 个月前

Definition

EditorToolbarElementAttribute(string, Type[])

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

Parameters

Element's ID.

targetWindows

Targeted contexts.