Esempio n. 1
0
 public void MainMenu()
 {
     ClimberStateManager.SwitchState(ClimberState.RELOADING);
     ui.Unpause();
     if (FLS_LoadingScreen.instance)
     {
         FLS_LoadingScreen.instance.loadScene("Menu01");
     }
     else
     {
         Debug.LogWarning("No Loading Screen instance available.");
         SceneManager.LoadScene("Menu01");
     }
 }
Esempio n. 2
0
 public void OnExit()
 {
     _screen.Disable();
     _ui.Unpause();
 }
 public void OnExit()
 {
     LeanTween.resumeAll();
     _ui.Unpause();
 }