Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MainToolbarCustomElement(Func<VisualElement>)

Specify the `VisualElement` content of a main toolbar custom element.
Read time 1 minuteLast updated 13 days ago

Definition

public MainToolbarCustomElement(Func<VisualElement> createElement)

Parameters

createElement

A function that creates the
VisualElement
to display in the main toolbar.