Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MainToolbarButton(MainToolbarContent, Action)

Specify the content and function of a main toolbar button.
Read time 1 minuteLast updated 11 days ago

Definition

public MainToolbarButton(MainToolbarContent content, Action action)

Parameters

The visual content for this button.

action

The action to perform when the user selects the button.