GUIContent.text
Declaration
public string text;Описание
Текст, содержащийся.
using UnityEngine;
public class ExampleScript : MonoBehaviour { void OnGUI() { GUI.Button(new Rect(0, 0, 100, 20), new GUIContent("Click me!")); } }
public string text;Текст, содержащийся.
using UnityEngine;
public class ExampleScript : MonoBehaviour { void OnGUI() { GUI.Button(new Rect(0, 0, 100, 20), new GUIContent("Click me!")); } }