Hello Guest

Author Topic: Can mesh collider can be used for button instead of box collider ??  (Read 3449 times)

RakeshChatra

  • Newbie
  • *
  • Posts: 33
    • View Profile
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..

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Can mesh collider can be used for button instead of box collider ??
« Reply #1 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.

RakeshChatra

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: Can mesh collider can be used for button instead of box collider ??
« Reply #2 on: November 07, 2013, 07:11:29 am »
thank you unikron..:)