MainToolbar
Interface for the main toolbar of the Unity Editor.
阅读时间1 分钟最后更新于 1 个月前
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. |