Tanoda
UnityEngine.UI.Extensions.AutoCompleteComboBox Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.AutoCompleteComboBox:

Classes

class  SelectionChangedEvent
 
class  SelectionTextChangedEvent
 
class  SelectionValidityChangedEvent
 

Public Member Functions

void Awake ()
 
void Start ()
 
void OnValueChanged (string currText)
 
void ToggleDropdownPanel (bool directClick)
 Toggle the drop down list More...
 

Public Attributes

Color disabledTextColor
 
List< string > AvailableOptions
 
bool SelectFirstItemOnStart = false
 
Color ValidSelectionTextColor = Color.green
 
Color MatchingItemsRemainingTextColor = Color.black
 
Color NoItemsRemainingTextColor = Color.red
 
AutoCompleteSearchType autocompleteSearchType = AutoCompleteSearchType.Linq
 
SelectionTextChangedEvent OnSelectionTextChanged
 
SelectionValidityChangedEvent OnSelectionValidityChanged
 
SelectionChangedEvent OnSelectionChanged
 

Properties

DropDownListItem SelectedItem [get]
 
string Text [get]
 
float ScrollBarWidth [get, set]
 
int ItemsToDisplay [get, set]
 
bool InputColorMatching [get, set]
 

Detailed Description

Definition at line 17 of file AutoCompleteComboBox.cs.

Member Function Documentation

◆ Awake()

void UnityEngine.UI.Extensions.AutoCompleteComboBox.Awake ( )

Definition at line 126 of file AutoCompleteComboBox.cs.

◆ OnValueChanged()

void UnityEngine.UI.Extensions.AutoCompleteComboBox.OnValueChanged ( string  currText)

Definition at line 344 of file AutoCompleteComboBox.cs.

◆ Start()

void UnityEngine.UI.Extensions.AutoCompleteComboBox.Start ( )

Definition at line 130 of file AutoCompleteComboBox.cs.

◆ ToggleDropdownPanel()

void UnityEngine.UI.Extensions.AutoCompleteComboBox.ToggleDropdownPanel ( bool  directClick)

Toggle the drop down list

Parameters
directClickwhether an item was directly clicked on

Definition at line 390 of file AutoCompleteComboBox.cs.

Member Data Documentation

◆ autocompleteSearchType

AutoCompleteSearchType UnityEngine.UI.Extensions.AutoCompleteComboBox.autocompleteSearchType = AutoCompleteSearchType.Linq

Definition at line 103 of file AutoCompleteComboBox.cs.

◆ AvailableOptions

List<string> UnityEngine.UI.Extensions.AutoCompleteComboBox.AvailableOptions

Definition at line 22 of file AutoCompleteComboBox.cs.

◆ disabledTextColor

Color UnityEngine.UI.Extensions.AutoCompleteComboBox.disabledTextColor

Definition at line 19 of file AutoCompleteComboBox.cs.

◆ MatchingItemsRemainingTextColor

Color UnityEngine.UI.Extensions.AutoCompleteComboBox.MatchingItemsRemainingTextColor = Color.black

Definition at line 100 of file AutoCompleteComboBox.cs.

◆ NoItemsRemainingTextColor

Color UnityEngine.UI.Extensions.AutoCompleteComboBox.NoItemsRemainingTextColor = Color.red

Definition at line 101 of file AutoCompleteComboBox.cs.

◆ OnSelectionChanged

SelectionChangedEvent UnityEngine.UI.Extensions.AutoCompleteComboBox.OnSelectionChanged

Definition at line 124 of file AutoCompleteComboBox.cs.

◆ OnSelectionTextChanged

SelectionTextChangedEvent UnityEngine.UI.Extensions.AutoCompleteComboBox.OnSelectionTextChanged

Definition at line 120 of file AutoCompleteComboBox.cs.

◆ OnSelectionValidityChanged

SelectionValidityChangedEvent UnityEngine.UI.Extensions.AutoCompleteComboBox.OnSelectionValidityChanged

Definition at line 122 of file AutoCompleteComboBox.cs.

◆ SelectFirstItemOnStart

bool UnityEngine.UI.Extensions.AutoCompleteComboBox.SelectFirstItemOnStart = false

Definition at line 82 of file AutoCompleteComboBox.cs.

◆ ValidSelectionTextColor

Color UnityEngine.UI.Extensions.AutoCompleteComboBox.ValidSelectionTextColor = Color.green

Definition at line 99 of file AutoCompleteComboBox.cs.

Property Documentation

◆ InputColorMatching

bool UnityEngine.UI.Extensions.AutoCompleteComboBox.InputColorMatching
getset

Definition at line 87 of file AutoCompleteComboBox.cs.

◆ ItemsToDisplay

int UnityEngine.UI.Extensions.AutoCompleteComboBox.ItemsToDisplay
getset

Definition at line 72 of file AutoCompleteComboBox.cs.

◆ ScrollBarWidth

float UnityEngine.UI.Extensions.AutoCompleteComboBox.ScrollBarWidth
getset

Definition at line 57 of file AutoCompleteComboBox.cs.

◆ SelectedItem

DropDownListItem UnityEngine.UI.Extensions.AutoCompleteComboBox.SelectedItem
get

Definition at line 20 of file AutoCompleteComboBox.cs.

◆ Text

string UnityEngine.UI.Extensions.AutoCompleteComboBox.Text
get

Definition at line 53 of file AutoCompleteComboBox.cs.


The documentation for this class was generated from the following file: