docs.unity3d.com
    Show / Hide Table of Contents

    Constructor DiagnosticEventContext

    DiagnosticEventContext(AsyncOperationHandle, ResourceManager.DiagnosticEventType, Int32, String, Object)

    Construct a new DiagnosticEventContext.

    Declaration
    public DiagnosticEventContext(AsyncOperationHandle op, ResourceManager.DiagnosticEventType type, int eventValue = 0, string error = null, object context = null)
    Parameters
    Type Name Description
    AsyncOperationHandle op

    Operation handle for the event.

    ResourceManager.DiagnosticEventType type

    The type of diagnostic event.

    Int32 eventValue

    The value for this event.

    String error

    Any error that occured.

    Object context

    Additional context data.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023