RoleProviderAttribute Constructor

Declaration

public RoleProviderAttribute(string name, MPE.ProcessEvent eventType);

Declaration

public RoleProviderAttribute(MPE.ProcessLevel level, MPE.ProcessEvent eventType);

Parameters

name The name of the RoleProvider. For example, StandaloneProfiler.
eventType The event that the process triggered.
level The 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.


Did you find this page useful? Please give it a rating: