Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taka-oyama/ScrollSnap
Unity3d - Scroll Snapping for uGUI
https://github.com/taka-oyama/ScrollSnap
Last synced: about 2 months ago
JSON representation
Unity3d - Scroll Snapping for uGUI
- Host: GitHub
- URL: https://github.com/taka-oyama/ScrollSnap
- Owner: taka-oyama
- License: mit
- Created: 2015-11-03T18:40:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T13:26:01.000Z (over 4 years ago)
- Last Synced: 2024-07-14T04:36:11.593Z (6 months ago)
- Language: C#
- Size: 103 KB
- Stars: 75
- Watchers: 10
- Forks: 33
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - ScrollSnap - Scroll Snapping (Scroll)
README
# ScrollSnap
Unity3d - Carousel Slider for uGUIScrollSnap is a horizontal carousel slider optimized for use in mobile phones.
It attaches to ScrollRect and has all the behaviours included in ScrollRect like "Movement type" and "Scroll Sensitivity"
Please see the example file provided for details on how to format the UI tree.# Tested Environments
- Unity 5.1 (OSX, Windows 7, iOS, Android)
- Unity 5.3 (OSX, Windows 7, iOS, Android)
- Unity 2019.4 (OSX, Windows 7, iOS, Android)# Features
- Auto wrap around
- Change starting index
- Customize lerping time length
- Customize lerp triggers by percentage or by acceleration
- `onRelease` and `onLerpComplete` callbacks# Demo Capture
![demo](https://cloud.githubusercontent.com/assets/748854/11463199/c5fa9808-9761-11e5-8c3a-e68298fed044.gif)