- Home /
Custom touch phase?
Hello Everyone! I have a conflict with 2 touch inputs! First: I am using FPS from standard assets mobile, and I have modified the joystick area to be full screen, also modified the controls, such that. Swiping vertically moves the character forward, and swiping horizontally rotates the camera. Second: I have a raycast, where when the player taps on an object in the scene, the name will be displayed. So far, both are working fine, but when I start the swipe from an object, the name displays which I don't what that to happen. I was using ThouchPhase.Began I tried ThouchPhase.Stationary, this time when I end/stop my swipe on an object, the name displays... I want my objects not display names (get input) while the begining or end of swipe, but as a single tap occurs. (when the player taps and removes finger) so How might I acheive this?
Your answer
Follow this Question
Related Questions
TouchPhase doesn't end when player swipes off screen 1 Answer
How to get intermediate swipe positions? 1 Answer
Taps are not detected on mobile 1 Answer
Tap for variable height jump, swipe to dash 1 Answer
How to move player once per swipe 2 Answers