Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kiepng/Unity-PullToRefresh
- Owner: kiepng
- License: mit
- Created: 2018-11-11T13:19:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T05:29:45.000Z (over 3 years ago)
- Last Synced: 2024-07-14T04:36:22.662Z (4 months ago)
- Topics: c-sharp, ugui, ui, unity
- Language: C#
- Size: 2.2 MB
- Stars: 103
- Watchers: 6
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - Unity-PullToRefresh - Pull to refresh (Scroll)
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)