Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on March 08, 2013, 02:38:25 PM

Title: Menus workflow question
Post by: jeldrez on March 08, 2013, 02:38:25 PM
How do you create your menus? do you create a different scene for each screen or do you have all the screens in the same scene but show/hide panels with transitions between them? I was wondering this because I need to create fluid transitions between screens and I tought to create all of them in just 1 scene but I think it could be too much. It's the correct way to proceed?

thanks!
Title: Re: Menus workflow question
Post by: theprojectabot on March 08, 2013, 06:57:38 PM
I create one UI root 2d for then i have a window child node.  Below that I have a bunch of gameobjects with UIPanels attached, below that I have gameobjects with UIAnchors attached.  I then drop the parent panels into the UIAnchors panel container reference so that I can then apply UIButtonPlayAnimations to the panels when child buttons within the anchors are fired... This way I can animate whole panels, the elements that are anchored will stay anchored but move with the panel....MAKE sure not to have static checked if elements are moving.