Beispiel #1
0
 /// <summary>
 /// Unloads this scene. Done in the background.
 /// </summary>
 public void UnloadSceneAsync(Scene scene)
 {
     SceneManager.UnloadSceneAsync(this);
 }
Beispiel #2
0
 /// <summary>
 /// Saves this scene to the asset. Done in the background.
 /// </summary>
 public void SaveSceneAsync(Scene scene)
 {
     SceneManager.SaveSceneAsync(this);
 }
Beispiel #3
0
 /// <summary>
 /// Unloads this scene.
 /// </summary>
 /// <returns>True if action fails, otherwise false.</returns>
 public bool UnloadScene(Scene scene)
 {
     return(SceneManager.UnloadScene(this));
 }
Beispiel #4
0
 /// <summary>
 /// Saves this scene to the asset.
 /// </summary>
 /// <returns>True if action fails, otherwise false.</returns>
 public bool SaveScene(Scene scene)
 {
     return(SceneManager.SaveScene(this));
 }