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
- Remove
LateUpdate()
which optimized performance - Replacing
LateUpdate()
with a new approach that has solved the refresh stock problem.