Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


text

The text associated with the toggle.
Read time 1 minuteLast updated 5 days ago

Definition

public string text { get; set; }

Remarks

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