Class DiagnosticEventCollectorSingleton
Collects ResourceManager events and passed them on the registered event handlers. In editor play mode, events are passed directly to the ResourceManager profiler window. In player builds, events are sent to the editor via the EditorConnection API.
상속
상속된 멤버
네임스페이스: UnityEngine.ResourceManagement.Diagnostics
어셈블리: solution.dll
구문
public class DiagnosticEventCollectorSingleton : ComponentSingleton<DiagnosticEventCollectorSingleton>
프로퍼티
이름 | 설명 |
---|---|
PlayerConnectionGuid | The guid used for the PlayerConnect messaging system. |
메서드
이름 | 설명 |
---|---|
GetGameObjectName() | Retrieves the name of the object. |
PostEvent(DiagnosticEvent) | Send a DiagnosticEvent event to all registered handlers |
RegisterEventHandler(Action<DiagnosticEvent>, bool, bool) | Register for diagnostic events. If there is no collector, this will fail and return false. |
UnregisterEventHandler(Action<DiagnosticEvent>) | Unregister event hander |