GUILayout.TextFieldstatic function TextField (text : String, params options : GUILayoutOption[]) : Stringstatic function TextField (text : String, maxLength : int, params options : GUILayoutOption[]) : Stringstatic function TextField (text : String, style : GUIStyle, params options : GUILayoutOption[]) : Stringstatic function TextField (text : String, maxLength : int, style : GUIStyle, params options : GUILayoutOption[]) : StringParameters
ReturnsString - the edited string. DescriptionMake a single-line text field where the user can edit a string.
JavaScript
var stringToEdit : String = "Hello World"; using UnityEngine; import UnityEngine |

