ScrollSnap/Screen Swipe

Issue #176 new
Brogan King created an issue

Hey, I've been working on a script that is kind of a fork from your HorizontalScrollSnap script attempting to overcome some of the issues that I've been having with the HSS script.

I have posted it on the Unity forums but was hoping you could also check it out and give some feedback. I would really appreciate it. And of course if you like it feel free to include it in this library. The only thing that would need to change is the tweening stuff so its not relying on iTween.

Comments (2)

  1. Simon Jackson

    Thanks for the heads up. I'll be sure to look in to your script and take the changes into the project.

    Could you list the changes you did or why the HSS wasn't completely up to scratch? Was looking to implement an update to the control to address the fast swipe issues.

  2. Brogan King reporter

    Hey I don't really know which changes I have made to the original HSS script. I build the script from scratch based off copying a pasting some of the drag events code from ScrollRect.cs to get the same feel. Then I implemented all the snapping stuff and velocity thresholds based on what I though felt best. I found it was easier that way than trying to understand exactly what was happening in HSS or ScrollSnapBase. Sorry I can't help you there.

  3. Log in to comment