Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: viqtor on May 14, 2014, 04:48:52 AM
-
I want a simple animation between my scenes, but it seems really hard to do so with ngui. Can you give me a simple example?
-
What's an animation between scenes?
-
I want something like this: http://cgcookie.com/unity/2014/01/27/scripting-loading-screen/.
So I made a prefab which has a UIRoot + UICamera and a panel with a simple load animation and with DoNotDestroyOnLoad flag on. But when I load the next scene the existing UIRoot from there appears in front of my transition, even with a lower depth value.
Is there an easy solution to this? I found no answer in here http://www.tasharen.com/forum/index.php?topic=4170.0
-
Each UIRoot generally has a camera underneath it, and camera's depth is what controls what's drawn on top of what. You will need to have a separate layer for your loading screen, and you will need to set the loading screen camera's depth to be higher than any other camera.
-
Wow, thanks a lot, it worked :)