GUISkin.textArea

var textArea : GUIStyle

Description

Style used by default for GUI.TextArea controls.

JavaScript
// Modifies only the textArea style of the current GUISkin

var style : GUIStyle;
private var str : String = "A string...\nWith two lines.";

function OnGUI() {
GUI.skin.textArea = style;
str = GUILayout.TextArea(str);
}