docs.unity.cn
    Show / Hide Table of Contents

    Method RegisterDiagnosticCallback

    RegisterDiagnosticCallback(Action<AsyncOperationHandle, ResourceManager.DiagnosticEventType, Int32, 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, Int32, Object> func

    The event handler function.

    RegisterDiagnosticCallback(Action<ResourceManager.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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use