Wiki > AutoComplete TextField > AutoCompleteTextField

EditorGUILayout class


Uses UnityEditor.EditorGUILayout to draw the text field.

Namespace: RotaryHeart.Lib.AutoComplete.AutoCompleteTextField
Package: AutoComplete TextField

Syntax


public static class EditorGUILayout

Methods


Accessibility Level Type Name Description
public static string AutoCompleteTextField(GUIContent, string, GUIStyle, string[], string, params GUILayoutOption[]) Draw a TextField that has an AutoCompleteWindow logic for selecting options.
public static string AutoCompleteTextField(string, string, GUIStyle, string[], string, params GUILayoutOption[]) Draw a TextField that has an AutoCompleteWindow logic for selecting options.

This class has many different methods for drawing an AutoCompleteWindow logic, they will not be explained on detail because the only thing that changes are what parameters are sent to them. The above methods are the main callers depending on if you are using a string or a GUIContent to show the property information.