I hum problem in my game it takes some annoying Seconds To change scene ( do pro game menu, the pro game over Game ) Since the Computer the transition is normal
My code is relatively simple ( C # )
public void TryAgain()
{
Application.LoadLevel (“PlayGame”);
}
public void GoMenu()
{
Application.LoadLevel (“Menu”);
}
public void Quit ()
{
Application.Quit ();
}
I call functions in the very basic Canvas buttons and do not know why delay
Application.LoadLevel is expected to have some delay use Unity - Scripting API: Application.LoadLevelAsync
Also i suggest the you use 1 scene for the entire menu rather than having to switch scene for every new menu you have to create.
Oh and put your script in a Code Tag
next time
I tried to do so and also could not
public void TentarNovamente () {
Application.backgroundLoadingPriority = ThreadPriority.Low;
AsyncOperation async = Application.LoadLevelAsync ("PlayGame");
}
public void VaiMenu () {
AsyncOperation async = Application.LoadLevelAsync ("Menu");
Application.backgroundLoadingPriority = ThreadPriority.High;
}