使用虚拟循环列表 进行滚动 结束时 列表里的组件位置偏移了
Vector2 pos = lst_Players[0].container.position;
DOTween.To(() => 0
, x =>
{
pos.Set(0, x);
lst_Players[0].container.position = pos;
lst_Players[0].RefreshVirtualList();
}, 74* 320,3);
DOTween.To(() => 0
, x =>
{
pos.Set(0, x);
lst_Players[0].container.position = pos;
lst_Players[0].RefreshVirtualList();
}, 74* 320,3);
没有找到相关结果
已邀请:
2 个回复
sheepjeffery
赞同来自:
谷主
赞同来自: