Unity3D - Infinite Scrolling ScrollRect Demo (Github repo in description)

preview_player
Показать описание
A simple solution I whipped up in Unity for creating an infinite scrolling ScrollRect. My solution will most likely not work for your own project, as this merely demonstrates how this effect may be achieved with Unity's ScrollRect API

Рекомендации по теме
Комментарии
Автор

Use your scripts in my project, if the render mode is screen only, it works well. But my canvas is based on world space, and scripts cannot work, do you probably know why?

samwang
Автор

not run on Canvas render mode: screen space -camera

dev-game
Автор

Is there a minimum spacing somehow? I can't get a spacing of 1 to work. It starts off correctly, but as soon as children are placed to first or last, they receive a larger spacing. Help would be appreciated! Thx

joyslaube
visit shbcf.ru