Support => NGUI 3 Support => Topic started by: Docteur Cox on July 18, 2013, 08:55:45 AM
Title: Moving UIWidget and regular Unity objects : Ok, now that's weird.
Post by: Docteur Cox on July 18, 2013, 08:55:45 AM
Hello there !
So here's the problem. I have an issue with UITables. When repositioning them, I got something weird happening with widgets seemingly keeping the same position and textmeshes (I have no choice but to use them for that project unfortunately...) having the right offset. So I decided to try something out. I wrote that simple coroutine :
And the least I can say is that the result is kind of unexpected: My text flies above UIWidgets while the last remains static. Or to be more accurate : my game objects move while the UIWidgets are still rendered at the very same position. In fact, when I select them in hierarchy, objects with UIWidgets are moving along other objects and are exactly where they should be but are not rendered at the right place.
What did I possibly do wrong to get such weird stuff happening ? :o How can I fix it ?
Thanks in advance ! :)
Title: Re: Moving UIWidget and regular Unity objects : Ok, now that's weird.
Post by: ArenMook on July 18, 2013, 09:51:39 AM
Remove the "widgets are static" flag from your UIPanel.
Title: Re: Moving UIWidget and regular Unity objects : Ok, now that's weird.
Post by: Docteur Cox on July 18, 2013, 10:03:53 AM
Erf, I feel like really dumb now, but it works ! Thanks ArenMook ;D