This version of Unity is unsupported.

GUISkin.textField

Switch to Manual
public GUIStyle textField;

Description

Style used by default for GUI.TextField controls.

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); } }