IOverrideToolbar
Interface for EditorTool or EditorToolContext editor to override the contents of built-in toolbars.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Interface
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor.CoreModule
public interface IOverrideToolbar
Remarks
When you implement an Editor for EditorTool or EditorToolContext, 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 for a list of toolbars that support content overriding.
Methods
Method | Description |
|---|---|
| PopulateToolbar | Overrides the contents of built-in toolbars. |