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

Classes

class  SelectionChangedEvent
 

Public Member Functions

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

Public Attributes

Color disabledTextColor
 
List< string > AvailableOptions
 
SelectionChangedEvent OnSelectionChanged
 

Properties

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

Detailed Description

Definition at line 11 of file ComboBox.cs.

Member Function Documentation

◆ Awake()

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

Definition at line 83 of file ComboBox.cs.

◆ OnValueChanged()

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

Definition at line 289 of file ComboBox.cs.

◆ ToggleDropdownPanel()

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

Toggle the drop down list

Parameters
directClickwhether an item was directly clicked on

Definition at line 311 of file ComboBox.cs.

Member Data Documentation

◆ AvailableOptions

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

Definition at line 16 of file ComboBox.cs.

◆ disabledTextColor

Color UnityEngine.UI.Extensions.ComboBox.disabledTextColor

Definition at line 13 of file ComboBox.cs.

◆ OnSelectionChanged

SelectionChangedEvent UnityEngine.UI.Extensions.ComboBox.OnSelectionChanged

Definition at line 29 of file ComboBox.cs.

Property Documentation

◆ ItemsToDisplay

int UnityEngine.UI.Extensions.ComboBox.ItemsToDisplay
getset

Definition at line 73 of file ComboBox.cs.

◆ ScrollBarWidth

float UnityEngine.UI.Extensions.ComboBox.ScrollBarWidth
getset

Definition at line 60 of file ComboBox.cs.

◆ SelectedItem

DropDownListItem UnityEngine.UI.Extensions.ComboBox.SelectedItem
get

Definition at line 14 of file ComboBox.cs.

◆ Text

string UnityEngine.UI.Extensions.ComboBox.Text
get

Definition at line 58 of file ComboBox.cs.


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