MainToolbarCustomElement(Func<VisualElement>)
Specify the `VisualElement` content of a main toolbar custom element.
Read time 1 minuteLast updated 13 days ago
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