EditorApplication.OpenProject Manual     Reference     Scripting  
Scripting > Editor Classes > EditorApplication
EditorApplication.OpenProject

static function OpenProject (projectPath : string, params args : string[]) : void

Parameters

NameDescription
projectPath The path of a project to open.
args Arguments to pass to command line.

Description

Open another project.

Note that this function will not exit immediately. It will open another project after executing function returns.