MANUL Toolbar
- Works with Unity 2020.2.0f1 or above
Unity Discussions Topic
Manul Toolbar is a tool that lets you add your own buttons, popup, toggles, and labels to the upper Unity toolbar. You can link various actions to the created buttons or popups as well as cutomize their apperance. More info below!
Button Actions
You can use your buttons to:
- Execute Menu Item - any menu item (like Edit / Project Settings or GameObject / Create Empty) can be invoked with a button.
- Invoke Event – self-explanatory. Drag and drop a scriptable object, which class have some methods and you will be able to use those methods in events.
- Open Folder - select a folder in the Project window and show its content.
- Open Assets – load a scene, open a prefab in the prefab editing window or open an image in your default image editing software. You can of course open any kind of asset!
- Load Scene Additive - for scenes only. Use this action to load a scene in the additive mode.
- Select Asset – quickly select an asset in the Project window.
- Show Asset In Explorer – view the asset folder in the explorer.
- Open Properties Window – open a window with properties of the asset. Much quicker than creating a new Inspector window and locking it with the padlock icon!
- Find GameObjet on Scene - find and select a gameObject in the current scene
- Call Static Method – call any static method from any class.
- Call Method From Component – find a GameObject by name (which you entered earlier) on the current opened scene, then find a component attached to it with a given type, and call method from this component.
- Call Method From Type – find an Object with the given type on the current opened scene and call method from it.
You can also add toggles, sliders, popups or fields (text or number) which use EditorPrefs.
You can also link actions to those items. Each time the value of an item has changed, these actions will be performed.
Mouse Buttons & Keyboard Keys
You can attach different actions for left-click, right-click, and middle-click, all of them performed with the same toolbar button.
For example, you can open a prefab in the prefab editing window with a left-click on a toolbar button and select this prefab in the Project window with a right-click on a toolbar button.
But that’s not all! You can also combine that with holding Ctrl, Shift, or Alt key and have up to 12 different actions performed with the same toolbar button!
Icons, Tooltip, Styles & Colors
You can use Unity built-in icons to decorate your toolbar items.
You can add a tooltip to each button for your users to better explain what your button does.
You can also tint colors and use one of the built-in Unity styles to change the presentation of your button. For those who want to create your own GUISkin and use your custom styles – that option is available too!
We hope this asset will significantly speed up your work!
Release Notes
Version 1.4.0
- New action: Invoke Event
- New action: Load Scene Additive
- New item type: List - set of actions presented as a popup; action is performed each time the value of the popup is changed; value is stored in an editor pref (int type).
- New item type: Slider - presents float or int value as a slider, you can also configure minimum and maximum values.
- New item type: Number - presents float or int value as a number field
- New item type: Text - presents string value as a text field
- On Change Value Actions - you can now add a set of actions for Popup, Toggle, Slider, Number, and Text that will be performed each time the value is changed.
- You can use built-in editor icons (instead of dragging and dropping textures)
Version 1.3.3
- New action: Execute Menu Item
Version 1.3.2
- Added recreation of settings file and upgraded version checking.
Version 1.3.1
- Updated documentation & various fixes
Version 1.3
- Changed the way the settings are updated with newer tool versions
- Various fixes
Version 1.2
- Possibility of creating a set of lists of buttons and then switching between these lists with a popup
- Added menu items to open or select Manul Toolbar Settings asset
Version 1.1.2
- Fix in selecting asset in the Project window
Version 1.1.1
Version 1.1
- New actions: Open folder and Find GameObject in Scene
- New item types: Popup (which uses editor pref of the int type)
- Shortcuts to quickly change the name of the button or disable it
- Menu items in Project window to quickly create a button
- Possibility of storing button settings in an external asset
Version 1.0