Version: 2022.3
언어: 한국어

ProcessService

class in UnityEditor.MPE

매뉴얼로 전환

설명

*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.

정적 변수

levelThe ProcessLevel of the running instance of UnityEditor.
roleNameThe 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.

정적 함수

DisableProfileConnectionCloses the Profiler connection.
EnableProfileConnectionEnables a connection to the Profiler. The standalone Profiler uses this method.
GetProcessStateGets the ProcessState of a given instance of UnityEditor.
HasCapabilityChecks whether the current process has a given capability.
IsChannelServiceStartedChecks whether the ChannelService is already started.
LaunchLaunches a secondary instance of UnityEditor on the same project as the master instance.
ReadParameterA utility function to read command line arguments passed to the current process.
TerminateTerminates an editor process.

Events

ProcessExitedEventAn event triggered in a master instance of UnityEditor when you start a slave instance with ProcessService.Launch exit.
SlaveProcessExitedEventAn event triggered in a master instance of UnityEditor when you start a slave instance with ProcessService.LaunchSlave exit.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961