Documentation

Unity Engine

Unity Engine

IOverrideToolbar

Interface for EditorTool or EditorToolContext editor to override the contents of built-in toolbars.
Read time 1 minuteLast updated 2 months 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.