Joystick Movement and Shooting
Okay so currently I have a system in place that makes use of EventSystem.current.IsPointerOverGameObject(touch.fingerId) to check if the user is over the joystick and if so then don't shoot.
So this works well up until the player drags out of the Joystick range at which point the touch is no longer over the game object and the player begins to shoot.
I assume the solution will make use of touch.fingerId somehow but I'm not entirely sure on how this would be implemented.
Thanks in advance.
Your answer
Follow this Question
Related Questions
Touch joystick works left and down only 1 Answer
how can i use the mobile input scripts? 0 Answers
Hi everyone! The event of touching the display of phone doesn't work sometimes. 0 Answers
Mobile touching screen is pressing mouse 0 0 Answers
Touch Joystick not working properly with multiple touches 0 Answers