This version of Unity is unsupported.

EditorApplication.OpenProject

Declaration

public static void OpenProject(string projectPath, params string[] args);

Parameters

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.