EditorGUI.TextFieldstatic function TextField (position : Rect, text : string, style : GUIStyle = EditorStyles.textField) : stringstatic function TextField (position : Rect, label : string, text : string, style : GUIStyle = EditorStyles.textField) : stringstatic function TextField (position : Rect, label : GUIContent, text : string, style : GUIStyle = EditorStyles.textField) : stringParameters
Returnsstring - The text entered by the user. DescriptionMake a text field. This works just like GUI.TextField, but correctly responds to select all, copy, paste etc. in the editor, and it can have an optional label in front. |
