RoleProviderAttributeConstructor

Switch to Manual
public RoleProviderAttribute (string name, MPE.ProcessEvent eventType);
public RoleProviderAttribute (MPE.ProcessLevel level, MPE.ProcessEvent eventType);

Parameters

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

Description

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.