Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Undeadpunk on August 04, 2014, 08:22:12 AM
-
Hello, i faced the folowing problem. I created menu, and when i'm pressing button, active panel should disable and another have to enable, i did it by using gameObject.SetActive(), but it makes UIPanel on UIRoot freeze on 5-7 ms as like as UICamera. What am i doing wrong?
-
Nobody knows?
-
When UI elements are enabled they have to register themselves with a panel and perform some other logic. If you have a lot of widgets, this may take some time. You can achieve the same effect by keeping your UI present and simply changing the Alpha.