Hi all,
I'm working using NGUI 3.11.4. I have a problem with CenterOnChild component.
I've attached it to a grid (under a scroll view panel).
In Awake() I spawn my object list and call CenterOnChild.Recenter() that initialize the CenterOnChild component.
In OnEnable() I refresh data in that page. After refresh I call CenterOn(myObjTransform).
The first time I enter in this page it doesn't work. After first time, everything works.
Is it the expected behaviour?
How can I fix this?
Thank you.
Best regards,
Andrea.