Tanoda
UnityEngine.UI.Extensions.DropDownList Class Reference

Extension to the UI class which creates a dropdown list More...

Inheritance diagram for UnityEngine.UI.Extensions.DropDownList:

Classes

class  SelectionChangedEvent
 

Public Member Functions

void Start ()
 
void ToggleDropdownPanel (bool directClick)
 Toggle the drop down list More...
 

Public Attributes

Color disabledTextColor
 
List< DropDownListItemItems
 
bool OverrideHighlighted = true
 
bool SelectFirstItemOnStart = false
 
SelectionChangedEvent OnSelectionChanged
 

Properties

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

Detailed Description

Extension to the UI class which creates a dropdown list

Definition at line 14 of file DropDownList.cs.

Member Function Documentation

◆ Start()

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

Definition at line 82 of file DropDownList.cs.

◆ ToggleDropdownPanel()

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

Toggle the drop down list

Parameters
directClickwhether an item was directly clicked on

Definition at line 295 of file DropDownList.cs.

Member Data Documentation

◆ disabledTextColor

Color UnityEngine.UI.Extensions.DropDownList.disabledTextColor

Definition at line 16 of file DropDownList.cs.

◆ Items

List<DropDownListItem> UnityEngine.UI.Extensions.DropDownList.Items

Definition at line 19 of file DropDownList.cs.

◆ OnSelectionChanged

SelectionChangedEvent UnityEngine.UI.Extensions.DropDownList.OnSelectionChanged

Definition at line 79 of file DropDownList.cs.

◆ OverrideHighlighted

bool UnityEngine.UI.Extensions.DropDownList.OverrideHighlighted = true

Definition at line 20 of file DropDownList.cs.

◆ SelectFirstItemOnStart

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

Definition at line 73 of file DropDownList.cs.

Property Documentation

◆ ItemsToDisplay

int UnityEngine.UI.Extensions.DropDownList.ItemsToDisplay
getset

Definition at line 63 of file DropDownList.cs.

◆ ScrollBarWidth

float UnityEngine.UI.Extensions.DropDownList.ScrollBarWidth
getset

Definition at line 47 of file DropDownList.cs.

◆ SelectedItem

DropDownListItem UnityEngine.UI.Extensions.DropDownList.SelectedItem
get

Definition at line 17 of file DropDownList.cs.


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