예제 #1
0
 /// <summary>
 /// Unloads this scene. Done in the background.
 /// </summary>
 public void UnloadSceneAsync(Scene scene)
 {
     SceneManager.UnloadSceneAsync(this);
 }
예제 #2
0
 /// <summary>
 /// Saves this scene to the asset. Done in the background.
 /// </summary>
 public void SaveSceneAsync(Scene scene)
 {
     SceneManager.SaveSceneAsync(this);
 }
예제 #3
0
 /// <summary>
 /// Unloads this scene.
 /// </summary>
 /// <returns>True if action fails, otherwise false.</returns>
 public bool UnloadScene(Scene scene)
 {
     return(SceneManager.UnloadScene(this));
 }
예제 #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));
 }