Skip to content

UIDropDownBox ​

继承自:

描述 ​

场景UI下拉框

属性 ​

ColorQuad  TitleColor
文本颜色
int  TitleFontSize
文本字体大小
int  SelectedIndex
选中的下标

函数 ​

获取下拉框选中的内容
获取下拉框某item项
void  RemoveItem (int index)
通过下标移除下拉框中某项item
给下拉框新增一项item
int  AddItem (string item)
给下拉框添加一项item
通过下标获取下拉框中某项item的key
通过下标获取下拉框中某项item的value