MainToolbarButton(MainToolbarContent, Action)
Specify the content and function of a main toolbar button.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor
public MainToolbarButton(MainToolbarContent content, Action action)
Parameters
The visual content for this button.
The action to perform when the user selects the button.