Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kiepng/Unity-PullToRefresh

Pull to refresh for Unity UI.
https://github.com/kiepng/Unity-PullToRefresh

c-sharp ugui ui unity

Last synced: 3 months ago
JSON representation

Pull to refresh for Unity UI.

Awesome Lists containing this project

README

        

# Unity-PullToRefresh
Pull to refresh for Unity UI.

![screenshot1](https://github.com/kiepng/Unity-PullToRefresh/blob/master/Documents/screenshot01.gif)

## Usage
1. Download PullToRefresh-vx.x.x.unitypackage from [Releases](https://github.com/kiepng/Unity-PullToRefresh/releases).
2. Import the package into your Unity project.
3. Create your `ScrollRect` implements `IScrollable`.
4. Prepare `AnimatorController` of Loading icon.
4. Add `UIRefreshControl` component to your ScrollView from `Add Component` in inspector.
5. Attach `IScrollable` and `LoadingAnimatorController` to `UIRefreshControl`.
![screenshot2](https://github.com/kiepng/Unity-PullToRefresh/blob/master/Documents/screenshot02.png)
See `ExampleScene` for details.

## Environment
Unity2018.3.11f1

## License
MIT

## Author
[kiepng](https://github.com/kiepng)