Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IOverrideToolbar

Interface for EditorTool or EditorToolContext editor to override the contents of built-in toolbars.
Read time 1 minuteLast updated 12 days ago

Definition

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

PopulateToolbarOverrides the contents of built-in toolbars.