Welcome,
Guest
. Please
login
or
register
.
September 29, 2023, 11:26:44 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Nested Widgets?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nested Widgets? (Read 3201 times)
Chris_E
Newbie
Thank You
-Given: 0
-Receive: 1
Posts: 37
Nested Widgets?
«
on:
May 08, 2012, 01:20:31 PM »
Why were my parents changed on all my widgets?
A bunch of my movement scripts no longer work because of this parenting change.
Is there a way to disable this?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Nested Widgets?
«
Reply #1 on:
May 08, 2012, 01:24:06 PM »
I take it you haven't updated in a while.
Widgets should never be nested. Doing so creates obscure issues. Simply re-parent them to have a common parent with a scale of (1, 1, 1).
Logged
Chris_E
Newbie
Thank You
-Given: 0
-Receive: 1
Posts: 37
Re: Nested Widgets?
«
Reply #2 on:
May 08, 2012, 01:27:20 PM »
Is there any way to temporarily disable this? I haven't updated in a while. Also, because it's unparenting them automatically it's making it difficult to tell what was there before the change.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Nested Widgets?
«
Reply #3 on:
May 08, 2012, 01:29:53 PM »
Look in UIPanel.AddWidget
Logged
Chris_E
Newbie
Thank You
-Given: 0
-Receive: 1
Posts: 37
Re: Nested Widgets?
«
Reply #4 on:
May 08, 2012, 01:36:14 PM »
Thanks!
That did it, and will make it much easier to fix tomorrow!
Also, thank you so much for the fast responses. nGUI is a great product. The two programmers I work with and I are all picking it up.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Nested Widgets?