Wiki > AutoComplete TextField > AutoCompleteTextField

EditorGUI class


Uses UnityEditor.EditorGUI to draw the text field.

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

Syntax


public static class EditorGUI

Methods


Accessibility Level Type Name Description
public static string AutoCompleteTextField(Rect, string, string, GUIStyle, string[], string) Draw a TextField that has an AutoCompleteWindow logic for selecting options.
public static string AutoCompleteTextField(Rect, GUIContent, string, GUIStyle, string[], string) 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.