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