Hi everyone.
I'm making a mobile game, where player will able to rapidly change characters by pressing ui buttons on the screen.
I'am trying to use standart unity UI buttons, and they work ok from the first glance.
But I've ran into the next problem. When you rapidly press one button after another, they didn't work. I'am not sure if it is only OnClick event that doesn't fire, or raycast failed to register collision, or unitis ui raycasting doesn't fast enough to register so many inputs...
UI Buttons don't fire events on fast input
I'm making a mobile game, where player will able to rapidly change characters by pressing ui buttons on the screen.
I'am trying to use standart unity UI buttons, and they work ok from the first glance.
But I've ran into the next problem. When you rapidly press one button after another, they didn't work. I'am not sure if it is only OnClick event that doesn't fire, or raycast failed to register collision, or unitis ui raycasting doesn't fast enough to register so many inputs...
UI Buttons don't fire events on fast input