Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: leegod on August 14, 2014, 03:03:48 AM

Title: What is good tip for change UI scene without load scene?
Post by: leegod on August 14, 2014, 03:03:48 AM
Let's say mobile game, there are many layers of UI.

First of all, there is Main screen UI, then if user touch like map button, Map screen should be appear on top.

and there if user touch some location at map, detailed description window should be pop up over map.

How you manage these?

gameObject[Ngui object].SetActive(false) ?

or other good method?

Thanks.

Title: Re: What is good tip for change UI scene without load scene?
Post by: ArenMook on August 14, 2014, 08:02:32 AM
Yes, I keep my UI in one scene and activate/deactivate game objects to show different panels. I generally do that using the windowing system from the Starlink UI kit. It has built-in auto-hide and history logic.
Title: Re: What is good tip for change UI scene without load scene?
Post by: leegod on August 14, 2014, 09:20:12 AM
Yes, I keep my UI in one scene and activate/deactivate game objects to show different panels. I generally do that using the windowing system from the Starlink UI kit. It has built-in auto-hide and history logic.

I tested Starlink game, have interest in its UI, can I see its source or unity project about auto-hide and history logic you mentioned?

Title: Re: What is good tip for change UI scene without load scene?
Post by: ArenMook on August 15, 2014, 07:21:35 AM
All of it is in the Starlink UI kit -- source, scenes, everything except actual gameplay.