- Home /
Question by
Samu_270 · Aug 13, 2021 at 11:07 AM ·
inputbuttonstouch controlstouchscreen
When pressing a button, it counts as pressing the screen and the button [New Input System]
Hi everyone, i'm building a game (basically a 2d platformer) where the player move right and left using two buttons, and jump pressing everywhere on the screen, but the problem is that if i tap one of the buttons it count as i touch the screen. I'm using the new input system, Unity version 2021.1.14f.
I know other people have similar problems, ans someone was considering to create a huge invisble button and add a jump function to it to avoid this problem, i was trying to find a better solution. Anybody can help me out?
map.jpg
(20.9 kB)
Comment