GUILayout.TextAreastatic function TextArea (text : String, params options : GUILayoutOption[]) : Stringstatic function TextArea (text : String, maxLength : int, params options : GUILayoutOption[]) : Stringstatic function TextArea (text : String, style : GUIStyle, params options : GUILayoutOption[]) : Stringstatic function TextArea (text : String, maxLength : int, style : GUIStyle, params options : GUILayoutOption[]) : StringParameters
ReturnsString - the edited string. DescriptionMake a multi-line text field where the user can edit a string.
JavaScript
var stringToEdit : String = "Hello World\nI've got 2 lines..."; using UnityEngine; import UnityEngine
|

