Pull to refresh for Unity UI.
- Download PullToRefresh-vx.x.x.unitypackage from Releases.
- Import the package into your Unity project.
- Create your
ScrollRect
implementsIScrollable
. - Prepare
AnimatorController
of Loading icon. - Add
UIRefreshControl
component to your ScrollView fromAdd Component
in inspector. - Attach
IScrollable
andLoadingAnimatorController
toUIRefreshControl
.
SeeExampleScene
for details.
Unity2018.3.11f1
MIT