Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OpenProject(string, params string[])

Open another project.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

OpenProject(string, string[])

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

Parameters

projectPath

The path of a project to open.

Arguments to pass to command line.

Remarks

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