Skip to content

Infinity ScrollView for UGUI. It helps the UGUI ScrollRect to support any count items.

License

Notifications You must be signed in to change notification settings

Mr-sB/InfinityScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfinityScroll

Infinity ScrollView for UGUI. It helps the UGUI ScrollRect to support any count items.

Feature

  • Support any count items.
  • Support Vertical/Horizontal/Gride Layout Group.
  • Auto hide invisible items.
  • Use ObjectPool(Open source) to cache items.

Usage

  • Add Virtual(Vertical/Horizontal/Gride)LayoutGroup and UIList to the ScrollRect's content gameobject.
  • Get UIList component and call InitListView(int len) method to generate items.
  • There are two event you can listen in UIList:
public event Action<int, RectTransform> OnItemCreated;
public event Action<int> OnItemHided;

Note

You must import ObjectPool(Open source) module.

About

Infinity ScrollView for UGUI. It helps the UGUI ScrollRect to support any count items.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages