摘要: 虚拟列表(ScrollView) ,需要显示大量Item时能大幅降低Drawcall scrollview,list 优化 https://forum.cocos.org/t/topic/79055 阅读全文
posted @ 2021-01-12 15:43 porter_代码工作者 阅读(452) 评论(0) 推荐(0)
摘要: 制作预制体 为content添加layout组件 为scrollview中的content节点添加Layout组件,type属性设置为垂直(VERTICAL)布局,Resize Mode属性设置为CONTAINER 属性准备 properties: { HIGH:80, //每一项的高度 PAGE_ 阅读全文
posted @ 2021-01-12 10:42 porter_代码工作者 阅读(1650) 评论(0) 推荐(0)