获取不到列表里面的孩子

在编辑器里面做了一个列表,item为另外一个包的button(已导出),代码 glist.getchild("buttonname")活动为空,使用glist.selectedIndex返回-1,我怀疑是编辑器制作list哪里错了,看了文档都是说glist.getchild的,我哪里错了
TIM图片20190820015020.png
已邀请:

谷主

赞同来自:

名称都是空的,何来buttonname。教程demo都看看。

要回复问题请先登录注册