Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

高效ScrollView组件

注意事项:

  1. ScrollView 对应的条目 Item Cell Prefab,其挂在的脚本名称,需要与其名称一致;
  2. Item Cell prefab挂载的脚本中,需要实现方法: updateView(index, data){};
  3. 重点: 对于自下而上的排列,需要手动设置content Node和Item Cell Node的 anchorY=0,同理,自左而右,设置anchorX = 0; 对于自上而下的排列,需要手动设置content Node和Item Cell Node的 anchorY=1,同理,自左而右,设置anchorX = 1;

About

Cocos Creator自定义组件: 高效滚动条,支持自动复用显示条目,支持超大数据

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /