文档

Unity Engine

Unity Engine

OpenProject(string, params string[])

Open another project.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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.