2D Toolkit Forum

2D Toolkit => Support => Topic started by: camelot10 on August 02, 2012, 03:46:18 pm

Title: Two button on same place
Post by: camelot10 on August 02, 2012, 03:46:18 pm
i have two buttons.
Button A activates button B.
button B appear on same coordinates (x,y) but with lower z.
Button B box collider greater that button A collider.
When i hit button B, button A also activated.

how i can stop click event or block it activation of button A when i click on button B?
Title: Re: Two button on same place
Post by: unikronsoftware on August 02, 2012, 06:23:01 pm
Perhaps they are too close to one another? I just tested this now in sample 6 by moving one of the buttons in front of the other and rotating it - I can only click one of them. Also this was added in a fairly new version of 2D Toolkit, so make sure you're on an up to date version...
Title: Re: Two button on same place
Post by: camelot10 on August 03, 2012, 02:42:19 pm
oh sorry. you right.
both buttons overlaped.