Unity 6.3
0 онлайн 74 гостей 3 в системе
Вход

GUISkin.textField

Declaration

public GUIStyle textField;

Описание

Стиль, используемый по умолчанию для GUI.TextField элементов управления.

using UnityEngine;

public class Example : MonoBehaviour { // Modifies only the textField style of the current GUISkin

GUIStyle style; string str = "A string...";

void OnGUI() { GUI.skin.textField = style; str = GUILayout.TextField(str); } }