Welcome,
Guest
. Please
login
or
register
.
April 28, 2026, 03:05:24 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
what kind of unit is the delta of OnDrag (delta) in?
« previous
next »
Print
Pages: [
1
]
Author
Topic: what kind of unit is the delta of OnDrag (delta) in? (Read 2392 times)
rocman
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 4
what kind of unit is the delta of OnDrag (delta) in?
«
on:
March 16, 2014, 05:40:09 AM »
when i test in my cell phone, the delta seems not count by pixel
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: what kind of unit is the delta of OnDrag (delta) in?
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
what kind of unit is the delta of OnDrag (delta) in?