Hello, I have a very basic question: Pressing the "B" button on the gamepad activates a panel in which lies a UIButton. But this UIButton's action is to close the panel when it is clicked. So when I press "B" on the gamepad the panel shows up (just the alpha toggling to 1) but as soon as I release the button the panel of course hides itself (alpha back to 0) because the UIButton does its job.
It's a typical case of the snake eating its own tail. What would be the proper way to achieve this simple behavior (same user input to show and hide a panel)? Thanks...