Welcome,
Guest
. Please
login
or
register
.
April 20, 2026, 03:13:07 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Auto adjust box collider on widget turns on when going to play mode
« previous
next »
Print
Pages: [
1
]
Author
Topic: Auto adjust box collider on widget turns on when going to play mode (Read 3293 times)
iverelo
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Auto adjust box collider on widget turns on when going to play mode
«
on:
January 23, 2014, 08:33:40 PM »
I have a box collider attached to a UI sprite and I un-check the Box Collider auto-adjust to match option in the widget but it turns the option back on as soon as I hit play.
Is there a way to keep this off?
Logged
iverelo
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Auto adjust box collider on widget turns on when going to play mode
«
Reply #1 on:
January 23, 2014, 08:43:09 PM »
Turns out it was something the scroll bar was doing. I commented out line 102 of UIScrollBar and now it does not resize.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Auto adjust box collider on widget turns on when going to play mode
«
Reply #2 on:
January 24, 2014, 10:40:42 AM »
Scroll bar's box collider is supposed to resize with it. Otherwise it won't be correct.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Auto adjust box collider on widget turns on when going to play mode