Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: vijay on March 08, 2013, 12:31:35 AM
-
Hi Guys.
Well, i had already made a Main Menu which has Start, Options & Quit Buttons. It is working fine.
Now i got stuck with how to make another panel or window where Options details will be displayed when user presses Options button..
I also want to hide the Main Menu while options are displayed.
Pl. help me out, thanks in advance.
-
If only there was a menu example that comes with NGUI...
...oh wait. There is! :P
-
Thanks for the reply.
I have gone through the example menu which comes with NGUI.
But frankly speaking i am not getting the idea how it is made to work.
Help will be highly appreciated..............
-
I'd say your best bet is to make a new scene. Then when options is pressed load the new scene. This should keep their states as decoupled as possible plus it's an easy way to solve your problem.
Although this gets more complex if you have any non ngui elements in your main menu but in most game that probably won't happen.
You could always create another panel which you deactivate on Awake and then when the option button is clicked it tells whatever you use to manage the scene to reactive the options panel.
-
Thanks a lot........
Its working like a charm. :)