Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: frog on August 15, 2012, 02:38:51 AM

Title: button click to open another scene
Post by: frog on August 15, 2012, 02:38:51 AM
I'm sure I'm missing something super obvious, but how do I get a button click to open another scene like in the Example 3?
In other words, I have a button on scene1 that when it is clicked I want to open scene2, while animating it a bit like the "Options" button in Example 3. (But example 3 opens another panel.)

Thanks, yes I am a newb.
Title: Re: button click to open another scene
Post by: ArenMook on August 15, 2012, 04:12:55 AM
In that example it's done using UIButtonPlayAnimation. It activates the game object and plays its animation.
Title: Re: button click to open another scene
Post by: frog on August 15, 2012, 02:17:45 PM
In that example the button press results in another panel being displayed.
What do I need to do to have a button press result in a scene load?
Title: Re: button click to open another scene
Post by: PhilipC on August 15, 2012, 03:07:07 PM
Application.LoadLevel() is used to load levels... I'm not too sure how your expecting to load a level and do some sort of camera animation to it. Is this a 3D scene or are you looking for more GUI transitions?
Title: Re: button click to open another scene
Post by: frog on August 22, 2012, 03:59:43 AM
OK, I thought there was another way.