Author Topic: UICenterOnChild broken in 3.6.9?  (Read 4493 times)

tr4np

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 17
    • View Profile
UICenterOnChild broken in 3.6.9?
« 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).
« Last Edit: August 12, 2014, 12:41:44 PM by tr4np »

bumblebee

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 6
    • View Profile
Re: UICenterOnChild broken in 3.6.9?
« Reply #1 on: August 13, 2014, 05:27:59 AM »
Hi it's already discussed here

http://www.tasharen.com/forum/index.php?topic=10743.msg50376#msg50376

Should be fixed soon.

tr4np

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: UICenterOnChild broken in 3.6.9?
« Reply #2 on: August 13, 2014, 09:18:52 AM »
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...