1
NGUI 3 Support / UICamera.currentTouchID not returning right or middle mouse clicks
« on: November 11, 2016, 06:49:53 AM »
Like the title says
is not doing anything but 'leftclicked' when called from OnClick() in the inspector while clicking on a sprite which is setup properly
- if (UICamera.currentTouchID == -2)
- {
- Debug.Log("rightclicked");
- }
- if (UICamera.currentTouchID == -1)
- {
- Debug.Log("leftclicked");
- }
is not doing anything but 'leftclicked' when called from OnClick() in the inspector while clicking on a sprite which is setup properly
