Manual     Reference     Scripting  
  
Scripting > Editor Classes > EditorApplication   

EditorApplication.OpenScene  

static function OpenScene (path : string) : bool

Description

Opens the scene at path.

The scene that is currently open will not be saved, use SaveSceneIfUserWantsTo for that. All paths are relative to the project folder. Like: "Assets/MyScenes/MyScene.unity"