Pause Button Issue android
Hi everyone!
My problem with the pause button is the next:
My PauseButton is a Sprite with a Box Collider 2D and to detect when it is pressed I am using OnMouseDown and to make my Player jump I am using touch anywhere on screen and here is the problem, when I press the PauseButton the Player first jump and just after some milliseconds the game is paused.
Please, how can I solve this?
Comment
How did you get the On$$anonymous$$ouseDown with an interaction from the screen?