*This is an experimental feature.* The ProcessService allows you to start slave instance of UnityEditor, opened to the same Project as the master instance, with a specific RoleProviderAttribute.
The Standalone Profiler workflow uses this technology.
| Property | Description | 
|---|---|
| level | The ProcessLevel of the running instance of UnityEditor. | 
| roleName | The role name of the running UnityEditor process. For more information about how to register handlers for a specific process role, see RoleProviderAttribute. For a UnityEditor process of ProcessLevel Master, the roleName is always empty. | 
| Method | Description | 
|---|---|
| DisableProfileConnection | Closes the Profiler connection. | 
| EnableProfileConnection | Enables a connection to the Profiler. The standalone Profiler uses this method. | 
| GetProcessState | Gets the ProcessState of a given instance of UnityEditor. | 
| HasCapability | Checks whether the current process has a given capability. | 
| IsChannelServiceStarted | Checks whether the ChannelService is already started. | 
| Launch | Launches a secondary instance of UnityEditor on the same project as the master instance. | 
| ReadParameter | A utility function to read command line arguments passed to the current process. | 
| Terminate | Terminates an editor process. | 
| Event | Description | 
|---|---|
| ProcessExitedEvent | An event triggered in a master instance of UnityEditor when you start a slave instance with ProcessService.Launch exit. | 
| SlaveProcessExitedEvent | An event triggered in a master instance of UnityEditor when you start a slave instance with ProcessService.LaunchSlave exit. |