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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, June 26, 2023