https://github.com/zxsean/LoopScrollRect
基于https://github.com/qiankanglai/LoopScrollRect 简化了LoopScrollPrefabSource的操作,同时增加了2个回调接口,方便日常使用.
https://github.com/zxsean/LoopScrollRect
ugui unity
Last synced: about 1 year ago
JSON representation
基于https://github.com/qiankanglai/LoopScrollRect 简化了LoopScrollPrefabSource的操作,同时增加了2个回调接口,方便日常使用.
- Host: GitHub
- URL: https://github.com/zxsean/LoopScrollRect
- Owner: zxsean
- Created: 2018-07-17T12:05:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T02:29:23.000Z (almost 5 years ago)
- Last Synced: 2024-11-13T04:54:58.961Z (over 1 year ago)
- Topics: ugui, unity
- Language: C#
- Homepage:
- Size: 6 MB
- Stars: 24
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LoopScrollRect
基于https://github.com/qiankanglai/LoopScrollRect
简化了LoopScrollPrefabSource的操作,同时增加了2个回调接口,方便日常使用.
m_provideDataCallBack,等同于原版的item初始化流程,不过不需要单独在item上挂载脚本.
m_clickItemCallBack,点击回调.
## 更新
1.0.1 2020-8-28
[+]添加一个item入场动画,默认开启.
[*]合并主干版本代码.
[+]添加Refill使用offset参数后,如果offset为最后一页的index时,没法一页填充满.
[+]添加一个修正offset值的方法,会自动修正index的值,避免出现item被吞了的情况(原版有警告).
[+]添加一个接口,用于默认实现go回收事件.