Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: tr4np on August 12, 2014, 11:28:25 AM
-
I just updated to 3.6.9 (my last update was a few months ago), and now my UICenterOnChild no longer works. It no longer springs to my pages to the center. It's just like a normal scroll view now.
I have a tabbed window layout, and clicking the tabs will still center on the appropriate objects, so some functionality still works. However, I have code to track centeredObject (to indicate which tab is selected when the user scrolls manually), and centeredObject is no longer changing. Any ideas?
[update] I was troubleshooting, and I discovered that if I disable the UICenterOnChild script (while in Play mode in the editor) and then re-enable it, things start working again. I'm not sure if this makes a difference, but this scrollview is in a panel that is initially disabled. Once I enable the panel, everything shows as enabled (including the UICenterOnChild component) although the UICenterOnChild component doesn't seem to work (until I disable and re-enable it).
-
Hi it's already discussed here
http://www.tasharen.com/forum/index.php?topic=10743.msg50376#msg50376
Should be fixed soon.
-
Thanks for the link! That fixed the problem.
I have to admit I'm guilty of not searching before posting. :) I scanned the first page, didn't see anything about it, and posted...