MainToolbarCustomElement(Func<VisualElement>)
Specify the `VisualElement` content of a main toolbar custom element.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor
public MainToolbarCustomElement(Func<VisualElement> createElement)
Parameters
A function that creates the to display in the main toolbar.
VisualElement