79160253

Date: 2024-11-05 18:15:01
Score: 1.5
Natty:
Report link

In simple terms as said by @Easwar Chinraj

The delta touch activity over UI elements of the screen can simply be fixed by the following code

 if (EventSystem.current.currentSelectedGameObject == null)
 {
   // means the delta touch is not over ant UI controls(like buttons, joysticks, sliders)
   // your code for delta pointer movement
}

else Debug.Log(" pointer over this control "+ EventSystem.current.currentSelectedGameObject);

This works like a charm in mobile

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Easwar
  • Low reputation (1):
Posted by: chandrasekaran Natarajan