1
NGUI 3 Support / Re: Visibility Bug with Widgets When Enabling/Disabling?
« on: November 22, 2016, 05:15:16 AM »
to be more specific,
i use gameobject.SetActive() to set my obj visible/invisible. set invisible is fine. but after i re-set active to true, SOMETHINGS my obj cannot be visible on android device. reproduce probability is like 10%.
after searching in forum, i found that there was a NGUITools.SetActive() method, do i need to use this one instead of gameobject.setactive() ?
and i never let scale of my obj to 0.
i used leantween to animate my objs (only position).
if i attach child to my obj, and that child has animation on it(scale from 0.8 to 1), child is visible but parent (my obj) is not visible. my obj and its child are all UISprite.
i use gameobject.SetActive() to set my obj visible/invisible. set invisible is fine. but after i re-set active to true, SOMETHINGS my obj cannot be visible on android device. reproduce probability is like 10%.
after searching in forum, i found that there was a NGUITools.SetActive() method, do i need to use this one instead of gameobject.setactive() ?
and i never let scale of my obj to 0.
i used leantween to animate my objs (only position).
if i attach child to my obj, and that child has animation on it(scale from 0.8 to 1), child is visible but parent (my obj) is not visible. my obj and its child are all UISprite.
