文档

Unity Engine

Unity Engine

IOverrideToolbar

Interface for EditorTool or EditorToolContext editor to override the contents of built-in toolbars.
阅读时间1 分钟最后更新于 2 小时前

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.