Hi,
atm my game detects touches and fires something on every touch.
Now I tried the GUI-Components and when I touch the Button it gets fired BUT the touch is detected as well and my "cannon" fires.
What's the best method to prevent this? Can I detect touches on a specific element and do Buttons "swallow" touches if the lay above?
Thx for the help.
atm my game detects touches and fires something on every touch.
Now I tried the GUI-Components and when I touch the Button it gets fired BUT the touch is detected as well and my "cannon" fires.
What's the best method to prevent this? Can I detect touches on a specific element and do Buttons "swallow" touches if the lay above?
Thx for the help.