Skip to content

afradigm/Unity-PullToRefresh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-PullToRefresh

Pull to refresh for Unity UI.

screenshot1

Usage

  1. Download PullToRefresh-vx.x.x.unitypackage from Releases.
  2. Import the package into your Unity project.
  3. Create your ScrollRect implements IScrollable.
  4. Prepare AnimatorController of Loading icon.
  5. Add UIRefreshControl component to your ScrollView from Add Component in inspector.
  6. Attach IScrollable and LoadingAnimatorController to UIRefreshControl. screenshot2
    See ExampleScene for details.

Environment

Unity2018.3.11f1

License

MIT

Author

kiepng

Improver

AFRA

improvements

  1. Remove LateUpdate() which optimized performance
  2. Replacing LateUpdate() with a new approach that has solved the refresh stock problem.

About

Pull to refresh for Unity UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%