Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: bdominguez on September 23, 2014, 08:42:41 AM

Title: Get ScrollView drag amount
Post by: bdominguez on September 23, 2014, 08:42:41 AM
It's there any way? There is a "SetDragAmount" but there is no "GetDragAmount".

The code inside of it it's really hard to understand so I don't know how to do it.

Can you help me Aren?

Thanks!
Title: Re: Get ScrollView drag amount
Post by: ArenMook on September 23, 2014, 12:39:15 PM
Why do you need that? UIScrollView already updates scroll bars using the calculated value. It tends to involve quite a bit of math to calculate. UIScrollView.UpdateScrollbars.