Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MainToolbarContent

Specify a visual content descriptor for a main toolbar element.
Read time 1 minuteLast updated 8 days ago

Definition

MainToolbarContent()

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent()

MainToolbarContent(string)

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent(string text)

Parameters

text

The text of this element.

MainToolbarContent(string, string)

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent(string text, string tooltip)

Parameters

text

The text of this element.

tooltip

The tooltip of this element.

MainToolbarContent(Texture2D)

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent(Texture2D image)

Parameters

The icon of this element.

MainToolbarContent(Texture2D, string)

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent(Texture2D image, string tooltip)

Parameters

The icon of this element.

tooltip

The tooltip of this element.

MainToolbarContent(string, Texture2D, string)

Specify a visual content descriptor for a main toolbar element.
public MainToolbarContent(string text, Texture2D image, string tooltip)

Parameters

text

The text of this element.

The icon of this element.

tooltip

The tooltip of this element.