Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

IOverrideToolbar

interface in UnityEditor.Toolbars

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

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.

Public Methods

Method Description
PopulateToolbarOverrides the contents of built-in toolbars.