Version: 5.6
public GUIStyle textArea ;

설명

Style used by default for GUI.TextArea controls.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public GUIStyle style; private string str = "A string...\nWith two lines."; void OnGUI() { GUI.skin.textArea = style; str = GUILayout.TextArea(str); } }