示例#1
0
 public void ReturnMenu()
 {
     fading.GetComponent <Animation>().Play("Fading");
     if (GameParams.GetTopScore() <= GameParams.GetLastScore())
     {
         GameParams.SetTopScore(GameParams.GetLastScore());
     }
     audioManager.PlayClick();
     Data.gameStart = 1;
     GetComponent <ConfigManager>().Save();
     SceneManager.LoadScene(0);
 }