Customizable toolbar available in the Unity editor.
- Unity 2017.3.0f3
- Go to the following page and download "UnityCustomizableToolbar.unitypackage".
https://github.com/baba-s/unity-customizable-toolbar/blob/master/CustomizableToolbar.unitypackage?raw=true - Import the downloaded "UnityCustomizableToolbar.unitypackage" into the Unity project.
When you select "Window> Customizable Toolbar" in the Unity menu,
The "Toolbar" window will be displayed so you can dock it where you want.
Right click on "Toolbar" tab and select "Settings",
The setting screen appears in the Inspector.
Press the "+" button at the bottom right to add the parameters of the button.
Pressing "Inverted triangle" to the right of the "Command Name",
A list of commands will be displayed, so select the command you like.
Then "Command Name" and "Button Name" are automatically entered,
A button will be added to the toolbar.
Then, when this button is pushed, the set command is executed.
Since "Command Name" can be entered freely,
It is also possible to create a button to execute your own MenuItem.
When setting a texture in "Image",
A texture is displayed instead of "Button Name".
You can set the width of the button with "Width". ( Automatic adjustment if 0 )