I'm looking to refactor my Unity Input stuff to do it the NGUI way, but I'm a little stumped with my pinch and rotate methods.
With Unity Input it's fairly straight forward because in a single method I just iterate through Input.touches, average their positions, and do some math to compare relative movement of all the touches around that center point.
With NGUI you're working with UICamera.currentTouch and UICamera.currentTouchID, which of course pertains to a single touch point. I'm not quite sure how to make touches collaborate when they are all triggering methods separately.
So I have two questions:
1. Will OnDrag be called multiple times on a single object in a single update, but with a different currentTouch, if there are multiple fingers dragging on it?
2. How would you suggest I find the center of all the current touches for my gesture methods?
Thanks for your help!