Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rocman on March 16, 2014, 05:40:09 AM

Title: what kind of unit is the delta of OnDrag (delta) in?
Post by: rocman on March 16, 2014, 05:40:09 AM
when i test in my cell phone, the delta seems not count by pixel
Title: Re: what kind of unit is the delta of OnDrag (delta) in?
Post by: Nicki on March 16, 2014, 12:14:51 PM
It's in virtual pixels as defined by the activeHeight on the UIRoot. Essentially, the values you use with localPosition.