Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Launch(string, params string[])

Launches a secondary instance of UnityEditor on the same project as the master instance.
Read time 1 minuteLast updated 5 days ago

Definition

Launch(string, string[])

public static int Launch(string roleName, params string[] keyValuePairs)

Parameters

roleName

The name that corresponds to the RoleProviderAttribute of the process to start.

keyValuePairs

Arguments passed to the slave process.

Returns

Type

Description

intThe process ID of the slave process. A value of 0 means the slave process could not be started.