New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新功能建议 #27
Comments
第二个之前也有提到 #14 |
用dotween怎么确定要移动多少个像素呢? |
因为我们使用场景中每个Cell大小和Padding是固定的,所以可以很方便的计算出来 |
问题就是大小不固定的时候怎么办…… |
要不然先把路上需要的全部初始化出来,反正动画的过程中需要显示…… |
emmm 这是一个思路,但是和我之前的设计原则有点冲突... |
滑动功能我做了个coroutine版本,已上传(目前是匀速,有其他变速需求自己改下就行) https://github.com/qiankanglai/LoopScrollRect/blob/master/Images/ScrollToIndex.gif snap这个建议还是根据项目手感自己实现,因为我之前在不同游戏就做过不同版本的衰减函数,实在是难以统一 |
1、建议增加一个Snap To Grid选项,使每次拖拽结束之后都会慢慢停到某个格子开始的地方
2、建议增加一个ScrollToItemAnimated方法,用于以一定的速度滚到某个格子
The text was updated successfully, but these errors were encountered: