Tanoda
UnityEngine.UI.Extensions.DropDownListItem Class Reference

Public Member Functions

 DropDownListItem (string caption="", string inId="", Sprite image=null, bool disabled=false, Action onSelect=null)
 Constructor for Drop Down List panelItems More...
 

Public Attributes

Action OnSelect = null
 

Properties

string Caption [get, set]
 Caption of the Item More...
 
Sprite Image [get, set]
 Image component of the Item More...
 
bool IsDisabled [get, set]
 Is the Item currently enabled? More...
 
string ID [get, set]
 

Detailed Description

Definition at line 9 of file DropDownListItem.cs.

Constructor & Destructor Documentation

◆ DropDownListItem()

UnityEngine.UI.Extensions.DropDownListItem.DropDownListItem ( string  caption = "",
string  inId = "",
Sprite  image = null,
bool  disabled = false,
Action  onSelect = null 
)

Constructor for Drop Down List panelItems

Parameters
captionCaption for the item
valID of the item
image
disabledShould the item start disabled
onSelectAction to be called when this item is selected

Definition at line 91 of file DropDownListItem.cs.

Member Data Documentation

◆ OnSelect

Action UnityEngine.UI.Extensions.DropDownListItem.OnSelect = null

Definition at line 79 of file DropDownListItem.cs.

Property Documentation

◆ Caption

string UnityEngine.UI.Extensions.DropDownListItem.Caption
getset

Caption of the Item

Definition at line 16 of file DropDownListItem.cs.

◆ ID

string UnityEngine.UI.Extensions.DropDownListItem.ID
getset

Definition at line 73 of file DropDownListItem.cs.

◆ Image

Sprite UnityEngine.UI.Extensions.DropDownListItem.Image
getset

Image component of the Item

Definition at line 35 of file DropDownListItem.cs.

◆ IsDisabled

bool UnityEngine.UI.Extensions.DropDownListItem.IsDisabled
getset

Is the Item currently enabled?

Definition at line 54 of file DropDownListItem.cs.


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