Author Topic: What is good tip for change UI scene without load scene?  (Read 3247 times)

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
What is good tip for change UI scene without load scene?
« 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.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What is good tip for change UI scene without load scene?
« Reply #1 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.

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
Re: What is good tip for change UI scene without load scene?
« Reply #2 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?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What is good tip for change UI scene without load scene?
« Reply #3 on: August 15, 2014, 07:21:35 AM »
All of it is in the Starlink UI kit -- source, scenes, everything except actual gameplay.