Hi.
I've searched the forum but could not find any fix to my problem, so here it is.
I have a UIGrid with UICenterOnChild script and 4 childed game objects in my grid(lets call them page1, page2, page3 and page4).
If I get the current centered child(activeCenterChild.centeredObject), having all 4 children in my grid active, it returns the right one.
But if I toggle 2 of them off, say for example page1 and page2, leaving only page3 and page4 active, when I center on page3, which is now my first object, activeCenterChild.centeredObject returns page1, even though I have checked the hide inactive checkbox. Is there a cache that needs to be cleared?
I have made a temporary fix, by moving the objects I want to toggle off to another parent, so UIGrid don't have them as children any more. Is the hideInactive really working?
/HDFrisk