示例#1
0
 public void UnloadPersistentMap(MapIDs map)
 {
     if (SceneManager.GetSceneByName(map.ToString()).isLoaded)
     {
         SceneManager.UnloadSceneAsync(map.ToString());
     }
 }
示例#2
0
 public void LoadPersistentMap(MapIDs map)
 {
     SceneManager.LoadScene(map.ToString(), LoadSceneMode.Additive);
 }