2D Toolkit Forum

2D Toolkit => Support => Topic started by: RakeshChatra on November 06, 2013, 09:00:21 am

Title: Can mesh collider can be used for button instead of box collider ??
Post by: RakeshChatra on November 06, 2013, 09:00:21 am
Hi, i have some sprites in different shapes and i have applied 2d mesh collider for that and i want these to work as a button. How can i achieve this ? i tried giving uiitem script to the sprite but it is not working..
Title: Re: Can mesh collider can be used for button instead of box collider ??
Post by: unikronsoftware on November 06, 2013, 11:57:14 am
No, its not supported out of the box. It just relies on a collider, so it should work as long as you have front and back caps enabled.
Title: Re: Can mesh collider can be used for button instead of box collider ??
Post by: RakeshChatra on November 07, 2013, 07:11:29 am
thank you unikron..:)