示例#1
0
 // Static
 static public void LoadScene(string sceneName, string loadScreenName = null)
 {
     UIBuilder.CloseAllPanel();
     if (loadScreenName != null)
     {
         SceneManager.LoadScene("LoadScreen");
     }
     SceneManager.LoadSceneAsync(sceneName);
 }