Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: kittikun on February 23, 2014, 10:02:13 AM
-
Hi,
I found out a strange bug with children alpha.
I am building a widget that contains items as children. When the user select one one the items, I change that item parent and fade the panel alpha.
The selected item is not related to the widget anymore but it's alpha will still change as if it was still a children.
The strange thing is that if I pause the game and manually edit the children alpha from the editor, the correct result will be updated.
Is there something I should do to notigy NGUI that the item parent has changed ?
I am just changing the transform parent for now.
Thank you
-
UIRect.ParentHasChanged notification.
-
Perfect, thanks!