Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: NeatWolf on November 20, 2014, 04:51:05 PM
-
Hi,
I was trying to interface FingerGestures with NGUI.
Fingergestures (that I need to catch swipes and drags) works with Screen coordinates while NGUI (scaling Style constrained) seems to work another way. Are there any utility functions that allows me to go from screen to local/global NGUI units and vice versa?
Thanks for your time.
-
Just convert from one to the other. UIRoot has a pixelSizeAdjustment value you can multiply (or divide) by, depending on which way you're going.