#region知识点二制作Popuplist
//1.一个sprite做背景一个lable做显示内容
//2.添加PopupList脚本
//3.添加碰撞器
//4.关联lable做信息更新,选择Label中的setcurrentselection函数
#endregion
#region知识点二制作Popuplist
//1.一个sprite做背景一个lable做显示内容
//2.添加PopupList脚本
//3.添加碰撞器
//4.关联lable做信息更新,选择Label中的setcurrentselection函数
#endregion
1.一个sprite做背景,1个label做显示内容
2.添加popuplist脚本
3.添加碰撞器
4.关联label做信息更新,选择label中的setcurrentselection函数
监听 .onChange.Add()
动态添加选项
.items.Add(内容);