Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


text

The text associated with the element.
Read time 1 minuteLast updated 6 days ago

Definition

public string text { get; set; }

Remarks

The text to display alongside the icon in a horizontal toolbar layout. In a vertical toolbar layout, this text is not displayed, and if no icon is set, this text is abbreviated and displayed as a text icon.