Example #1
0
        /// <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();
        }
Example #2
0
 /// <summary>
 /// Closes/unloads the scene in the editor
 /// </summary>
 /// <returns>True if the operation succeeded</returns>
 public void Close()
 {
     StratusScene.Unload(this);
 }
Example #3
0
 /// <summary>
 /// Unloads this scene (asynchronously)
 /// </summary>
 public void Unload(StratusScene.SceneCallback onFinished = null)
 {
     StratusScene.Unload(this, onFinished);
 }