Initial release of a uGUI Unity Recycler: a UI tool for efficiently displaying long lists of data.
Full Documentation: https://github.com/surmwill/recycler_unity
Features
- Appending
- Prepending
- Insertion
- Deletion
- Pooling
- Differently sized entries
- Dynamically sized entries (dimensions that change over time)
- Auto-calculated dimensions with
LayoutGroupsandContentSizeFitters - Endcap (an optional distinct entry that comes at the very end of the list)
- Scrolling to any index, on-screen or off-screen
- Immediately jumping to any index, on-screen or off-screen
- Lifecycle methods for entries: when they're bound, recycled, and their visibility changes
- Queryable state of what entries are active on-screen or not; easy retrieval of any one
- "Screen Space - Camera" or "Screen Space - Overlay" canvases supported
- Vertical and horizontal orientations supported
- Only uses native Unity UI elements (uGUI)
- Fully commented and documented
- List of demos for learning and debugging
- Easy scene set up: add a recycler component to a
RectTransformand serialize an entry prefab in it - Open source: adapt it to your needs