Version: 2020.2

RoleProviderAttributeConstructor

切换到手册
public RoleProviderAttribute (string name, MPE.ProcessEvent eventType);
public RoleProviderAttribute (MPE.ProcessLevel level, MPE.ProcessEvent eventType);

参数

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.

描述

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961