Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorApplication.OpenProject

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

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.