기술 자료

Unity Engine

Unity Engine

RoleProviderAttribute

An attribute used to decorate function that defines how a slave process can interact with a main instance of Unity.
읽는 시간 4분최근 업데이트: 한 달 전

Definition

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]public sealed class RoleProviderAttribute : Attribute, _Attribute

Fields

Value

Description

eventTypeThe event that the process triggered.
levelThe process level (either master or slave) that the handler is registered on.
nameThe name of the RoleProvider. For example, StandaloneProfiler.

Constructors

Constructor

Description

RoleProviderAttribute(System.String,UnityEditor.MPE.ProcessEvent)Constructor for a RoleProviderAttribute. Allows you to register a handler that is triggered when a specific ProcessEvent is triggered in a UnityEditor process of a specific ProcessLevel.
RoleProviderAttribute(UnityEditor.MPE.ProcessLevel,UnityEditor.MPE.ProcessEvent)Constructor for a RoleProviderAttribute. Allows you to register a handler that is triggered when a specific ProcessEvent is triggered in a UnityEditor process of a specific ProcessLevel.

Inheritance

Inherited Members