Description
The NewScene
method in the Editor.EditorScene
class is a static method that creates a new scene within the editor. This method is typically used to initialize a fresh editing environment, clearing any existing scene data and setting up a new workspace for the user.
Usage
To create a new scene in the editor, simply call the NewScene
method. This method does not take any parameters and does not return a value. It is designed to be used as a shortcut operation within the editor environment.
The method is also associated with a keyboard shortcut, CTRL+N
, which can be used to quickly invoke the creation of a new scene without navigating through menus.
Example
// Example of using the NewScene method
Editor.EditorScene.NewScene();
// This will create a new scene in the editor, clearing any current scene data.