Skip to content

shane-harper/Scroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharper Scroller - Virtualized scroller for Unity

A simple virtualized scroller for Unity!

Features

  • Horizontal and vertical scrolling
  • Loopable (optional)
  • Reverse order
  • Zoom centered item
  • Jump to index
  • Scroll to index

Known Issues

  • The intertia isn't so good on small looping lists

Installation

Copy the Scroller folder to your project

Usage

  1. Create a data and prefab classes by inheriting IScrollerData and IScrollerPrefab
  2. Create a scroller class by inheriting IScroller<TData,TPrefab> use your data and prefab classes here
  3. Create the prefab that will populate the scroller, with your scroller prefab class attached
  4. Create the scroller and link your prefab

Check out ExampleScrollerScene for reference. It's pretty simple to use, strangely difficult to explain.

Contributors

I hope to keep improving this plugin. Although I intend to keep the feature set slim, suggestions for improvements/optimizations are very welcome!

License

Licensed under the MIT. See LICENSE file for full license information.

About

Virtualized scroller for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages