Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: stapledon on December 23, 2013, 11:23:15 AM

Title: Suggestion: Collider Auto-Adjust to match + Padding
Post by: stapledon on December 23, 2013, 11:23:15 AM
Could we have the option to add additional padding to the size of the Box Collider auto-adjust modes?

I pad out a lot of my collision areas for smallish UI elements, but resizable ones need to use Auto-Adjust, which resets them to the sprite bounds.
Title: Re: Suggestion: Collider Auto-Adjust to match + Padding
Post by: ArenMook on December 23, 2013, 01:17:14 PM
Create an invisible widget, anchor it with some padding, put the collider on that.