Namespace Unity.Profiling | Unity Profiling Core API | 0.1.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Namespace Unity.Profiling

    Classes

    ProfilerMarkerExtension

    Provides an extension to the ProfilerMarker API to accommodate a single additional parameter to the Begin method.

    Structs

    ProfilerCategory

    Defines a profiling category when you create a ProfilerMarker.

    ProfilerMarker<TP1>

    Use ProfilerMarker<TP1> to mark up script code blocks for the Unity Profiler.

    You can pass a single integral or floating point parameter alongside the Begin event.

    ProfilerMarker<TP1, TP2>

    Use ProfilerMarker<TP1, TP2> to mark up script code blocks for the Unity Profiler.

    You can pass two integral or floating point parameters alongside the Begin event. The following types are supported as parameters:

    • int
    • uint
    • long
    • ulong
    • float
    • double

    ProfilerMarker<TP1, TP2, TP3>

    Use ProfilerMarker<TP1> to mark up script code blocks for the Unity Profiler.

    You can pass three integral or floating point parameters alongside the Begin event. The following types are supported as parameters:

    • int
    • uint
    • long
    • ulong
    • float
    • double
    Back to top
    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