MainToolbar
Interface for the main toolbar of the Unity Editor.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor.CoreModule
public static class MainToolbar
Remarks
The only method on this interface is MainToolbar.Refresh, which you can call to update a specific element in the toolbar. To add custom elements to the toolbar look at MainToolbarElementAttribute and MainToolbarElement.
Static Methods
Method | Description |
|---|---|
| Refresh | Notify the main toolbar to update the content or behaviour of a toolbar element. |