Crossposted from the Sharkbomb Studios blog:
Working on Nowhere Prophet I built two quick tools for the ScrollRect. I wanted to briefly post them here so maybe someone else can get some use out of them.
One called the ScrollRectTweener can take control over a ScrollRect and smoothly scroll it to a given normalized target position. If the player moves the view while the tweener is acting, then it aborts it’s movement, but you have the option to lock out the player drag when it is working.
The second is the ScrollRectLinker. This component can be put on one scrollRect to link its normalized position to the normalized position of another scrollRect. That way simple parallax scrolling can be quickly set up.
GET THEM HERE
Wow, interesting as ever. Is it ok to add these to the UI Extensions project?
Now that I’m back of hols, I’m sparing some time to update it.
sure. Credit me, as usual 
1 Like
This is exactly what i need. I do get some jittery movement from the scroll rect. I am passing the touch.deltaposition in to it?Is there another value i can use from the touch that is more suited for this to get a smoother motion?
I figured it out myself. I multiply the deltaposition.x value with a really low value, 0.1 in my case. And the duration value i also use a fairly low value. It works for prototyping purposes, ideally I would have to write something that delivered the same touch value, regardless of what touch device is being used
Hm. I don’t quite follow.
Thank you! It works perfect! Saved me a huge lots of time!