Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorToolbarElementAttribute

The EditorToolbarElement attribute allows you to make available a specific VisualElement for use in an Editor Toolbar.
Read time 3 minutesLast updated 6 days ago

Definition

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]public sealed class EditorToolbarElementAttribute : Attribute

Remarks

Constructors

Constructor

Description

EditorToolbarElementAttribute(System.String,System.Type[])The EditorToolbarElement attribute allows you to make available a specific VisualElement for use in an Editor Toolbar.

Properties

Property

Description

idElement's ID.
targetWindowsTargeted contexts.

Inheritance

Inherited Members