/// <summary> /// Closes all scenes in the editor /// </summary> public void CloseAll(StratusScene.SceneCallback onClosed = null) { StratusScene.Unload(scenes, onClosed); //foreach (var scene in this.scenes) // scene.Close(); }
/// <summary> /// Closes/unloads the scene in the editor /// </summary> /// <returns>True if the operation succeeded</returns> public void Close() { StratusScene.Unload(this); }
/// <summary> /// Unloads this scene (asynchronously) /// </summary> public void Unload(StratusScene.SceneCallback onFinished = null) { StratusScene.Unload(this, onFinished); }