docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RegisterDiagnosticCallback

    RegisterDiagnosticCallback(Action<AsyncOperationHandle, DiagnosticEventType, int, object>)

    Register a handler for diagnostic events.

    Declaration
    [Obsolete]
    public void RegisterDiagnosticCallback(Action<AsyncOperationHandle, ResourceManager.DiagnosticEventType, int, object> func)
    Parameters
    Type Name Description
    Action<AsyncOperationHandle, ResourceManager.DiagnosticEventType, int, object> func

    The event handler function.

    RegisterDiagnosticCallback(Action<DiagnosticEventContext>)

    Register a handler for diagnostic events.

    Declaration
    public void RegisterDiagnosticCallback(Action<ResourceManager.DiagnosticEventContext> func)
    Parameters
    Type Name Description
    Action<ResourceManager.DiagnosticEventContext> func

    The event handler function.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)