Hello Everyone,
I'm fairly new to nGUI, so I may have missed something, but I stumbled upon this topic and it may actually be the issue I'm facing.
I have a simple infinite vertical scrollview with 0 to 9 numbers, and I'm trying to have it center on elements, so I used the following (simple) structure:
|- ScrollView (UI Scroll View script)
|-- Wrapper (UI Wrap Content) + UI Center on Child
|--- 0 (UI Drag Scroll View)
|--- 1 (UI Drag Scroll View)
|--- 2 (UI Drag Scroll View)
|--- 3 (UI Drag Scroll View)
|--- 4 (UI Drag Scroll View)
|--- 5 (UI Drag Scroll View)
|--- 6 (UI Drag Scroll View)
|--- 7 (UI Drag Scroll View)
|--- 8 (UI Drag Scroll View)
|--- 9 (UI Drag Scroll View)
Th scrolling and wrapping work perfectly fine, but not the Center on Child feature. It just appears to scroll freely, despite the Center On Child script being attached to my wrapper object, UNLESS I click, then it centers correctly (however, it's not the Center On Click script I used, I assure you :p).
Could it be because of the same issue raised by the OP ?
(added screenshots of my inspectors and hierarchy to make sure)