ドキュメント

Unity Engine

Unity Engine

MainToolbar

Interface for the main toolbar of the Unity Editor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static class MainToolbar

Remarks

Call MainToolbar.Refresh to update a specific element in the toolbar, or MainToolbar.OpenMainToolbarPicker to open the Main Toolbar picker. To add custom elements to the toolbar, refer to MainToolbarElementAttribute and MainToolbarElement.

Static Methods

Method

Description

OpenMainToolbarPickerOpens the Main Toolbar picker, pre-filtered to a search term.
RefreshNotify the main toolbar to update the content or behaviour of a toolbar element.

Enums

Enum

Description

MainToolbar.PickerModeSpecifies which tab the Main Toolbar picker opens to.