Documentation

Unity Engine

Download Unity

Unity Engine

text

The text contained.
Read time 1 minuteLast updated 5 hours ago

Definition

public string text { get; set; }

Examples

using UnityEngine;public class ExampleScript : MonoBehaviour{ void OnGUI() { GUI.Button(new Rect(0, 0, 100, 20), new GUIContent("Click me!")); }}