Question by
RaspberryPiDude314 · Jan 17, 2021 at 01:31 AM ·
uibuttoncanvasprogramming
Button custom collider
I've been puzzling over this for a while now, and I haven't been able to find a solution. I have a PNG image (it's capsule-shaped) with a Button component added. The background's gone, but the collider for the button is still the shape of the image imported (square). Here's the problem: If I click over the square image/background, whether it's on the capsule non-removed part, it recognizes it as a button press. I just want the capsule to be the collider. Any ideas? Thanks in advance!
Comment
Your answer
Follow this Question
Related Questions
How to make a restart button pop up after character has died? 2 Answers
button pressing the button next to it?! 2 Answers
Android UI push Multiple buttons Help 0 Answers
Need Rect Transform Movement Tips 2 Answers