A simple virtualized scroller for Unity!
- Horizontal and vertical scrolling
- Loopable (optional)
- Reverse order
- Zoom centered item
- Jump to index
- Scroll to index
- The intertia isn't so good on small looping lists
Copy the Scroller folder to your project
- Create a data and prefab classes by inheriting IScrollerData and IScrollerPrefab
- Create a scroller class by inheriting IScroller<TData,TPrefab> use your data and prefab classes here
- Create the prefab that will populate the scroller, with your scroller prefab class attached
- Create the scroller and link your prefab
Check out ExampleScrollerScene for reference. It's pretty simple to use, strangely difficult to explain.
I hope to keep improving this plugin. Although I intend to keep the feature set slim, suggestions for improvements/optimizations are very welcome!
- Shane Harper - Creator
Licensed under the MIT. See LICENSE file for full license information.