Author Topic: NGUI Box Collider keeps resizing  (Read 1692 times)

joduffy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
NGUI Box Collider keeps resizing
« on: October 24, 2015, 07:13:48 PM »
Hi Guys,

I want to increase the box collider around my button.
But When I increase the size and reload the level, the collider keeps shrinking down to fit the button again rather than maintain the size I have set.

Is there anyway to override this?

joduffy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
Re: NGUI Box Collider keeps resizing
« Reply #1 on: October 24, 2015, 08:14:08 PM »
I found the problem

Under the UI Sprite widget property in the inspector panel, there is a tick box which says

collider - auto adjust to match

Just tick that off and you are good to go.