Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: skytrack on May 28, 2012, 04:22:12 AM
-
Hello
We have two UI cameras (different depth) on the scene with UICamera scripts on them.
How to recognize if it was any UI touch (press) ? (UICamera.currentTouch is a static variable, but we have two UICamera's)
Thanks in advance
-
The 'current' series of variables always hold the value of the last camera that has issued the event. You can check this value in OnPress, OnDrag, and other notification functions.