Wiki > AutoComplete TextField > AutoCompleteTextField

AutoCompleteTextField._AutoCompleteLogic


Logic for the auto complete draw on text field focus.

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

Syntax


private static string _AutoCompleteLogic(Rect position, GUIContent label, string text, string[] entries, string hint)

Parameters

position
Type: UnityEngine.Rect
TextField position.
label
Type: UnityEngine.GUIContent
Label from the TextField.
text
Type: System.string
Value from the TextField.
entries
Type: System.string[]
Entries to display.
hint
Type: System.string
Hint information to show, if any.

Return Value

Type: System.string
Selected value from autocomplete window.