Example #1
0
 public static string TextArea(string text, int maxLength, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUILayout.DoTextField(text, maxLength, true, style, options));
 }
Example #2
0
 public static string TextField(string text, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUILayout.DoTextField(text, -1, false, style, options));
 }
Example #3
0
 public static string TextArea(string text, int maxLength, params GUILayoutOption[] options)
 {
     return(GUILayout.DoTextField(text, maxLength, true, GUI.skin.textArea, options));
 }
Example #4
0
 public static string TextField(string text, params GUILayoutOption[] options)
 {
     return(GUILayout.DoTextField(text, -1, false, GUI.skin.textField, options));
 }