docs.unity.cn
    Show / Hide Table of Contents

    Method RegisterDiagnosticCallback

    RegisterDiagnosticCallback(Action<AsyncOperationHandle, ResourceManager.DiagnosticEventType, Int32, Object>)

    Register a handler for diagnostic events.

    Declaration
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use