glist怎么让最后一个item显示在最后一位
虚拟循环列表 做手游大排队 类似阴阳师 list向下滚动 怎么获取到list最后一个item滚动到最下面 ScrollToView只能让你获取到的item滚动到第一个
这个是解决了
那怎么获取到最后的这个item呢
sortList.scrollPane.percY = 1f;
int index = sortList.ChildIndexToItemIndex(sortTest.Count-1);
GComponent com = sortList.GetChildAt(index).asCom;
报错..... count是 1到10
原来用ScrollToView是这么获取的
这个是解决了
那怎么获取到最后的这个item呢
sortList.scrollPane.percY = 1f;
int index = sortList.ChildIndexToItemIndex(sortTest.Count-1);
GComponent com = sortList.GetChildAt(index).asCom;
报错..... count是 1到10
原来用ScrollToView是这么获取的
没有找到相关结果
已邀请:
1 个回复
谷主
赞同来自:
percY = 1