Unity Editor Toolbar
A modular toolbar for the Unity editor that organizes Editor Windows, Scene View Windows and Custom Controls. Manage your custom scripts in one place without writing additional code. The new [AddToToolbar] attribute allows to mark controls and windows that should be added to the toolbar. Controls can be ordered and filtered by categories: All, Art, Design, Code.
Attribute
The attribute marks all classes that should be displayed in the toolbar. The attribute requires a name and tooltip, and can take an optional order and ToolbarGroup parameter for filtering. To display icons in the toolbar, simply add a icon file to the or directory.
Toolbar Controls
Editor Window
To add an Editor Window to the toolbar, simply add the [AddToToolbar] attribute to the class. The window size and titleContent can be set in the OnEnable call.
Scene Window
The toolbar comes with a Scene Window class that can be used to display windows directly in the editor's scene view. To add a Scene Window to the toolbar, you must inherit from SceneWindow and add the [AddToToolbar] attribute to the class. The Scene Window size and title can be set in the OnEnable call.
Custom Controls
Custom Controls can be embedded directly into the toolbar by inheriting from CustomControl and adding the [AddToToolbar] attribute to the class.
Unity Package
The unity package contains all required scripts, examples for Editor Window, Scene Window and a Custom Control as shown in the image.