# IOverrideToolbar

> Interface for EditorTool or EditorToolContext editor to override the contents of built-in toolbars.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEditor.Toolbars](/engine/6000.7/script-reference/unityeditor/toolbars.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public interface IOverrideToolbar
```

## Remarks

When you implement an [Editor](/engine/6000.7/script-reference/unityeditor/editor.md) for [EditorTool](/engine/6000.7/script-reference/unityeditor/editortools/editortool.md) or [EditorToolContext](/engine/6000.7/script-reference/unityeditor/editortools/editortoolcontext.md), it replaces the built-in Tool Settings toolbar's contents. Use this interface to override the toolbar content instead of replacing it. You can also change the contents of toolbars other than Tool Settings. Refer to [OverridableToolbar](/engine/6000.7/script-reference/unityeditor/toolbars/overridabletoolbar.md) for a list of toolbars that support content overriding.

## Methods

| Method                                                                                                      | Description                                  |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [PopulateToolbar](/engine/6000.7/script-reference/unityeditor/toolbars/ioverridetoolbar/populatetoolbar.md) | Overrides the contents of built-in toolbars. |
