docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ProfilerCategory

    Defines a profiling category when you create a ProfilerMarker.

    Namespace: Unity.Profiling
    Assembly: Unity.Profiling.Core.dll
    Syntax
    public struct ProfilerCategory

    Properties

    Ai

    A ProfilerMarker that belongs to the Ai or NavMesh system.

    Declaration
    public static ProfilerCategory Ai { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Animation

    A ProfilerMarker that belongs to the Animation system.

    Declaration
    public static ProfilerCategory Animation { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Audio

    A ProfilerMarker that belongs the to Audio system.

    Declaration
    public static ProfilerCategory Audio { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    GUI

    A ProfilerMarker that belongs to the UI system.

    Declaration
    public static ProfilerCategory GUI { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Input

    A ProfilerMarker that belongs to the Input system.

    Declaration
    public static ProfilerCategory Input { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Lighting

    A ProfilerMarker that belongs to the Lighting system.

    Declaration
    public static ProfilerCategory Lighting { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Loading

    A ProfilerMarker that belongs to the Loading or Streaming system.

    Declaration
    public static ProfilerCategory Loading { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Network

    A ProfilerMarker that belongs to the Networking system.

    Declaration
    public static ProfilerCategory Network { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Particles

    A ProfilerMarker that belongs to the Particle system.

    Declaration
    public static ProfilerCategory Particles { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Physics

    A ProfilerMarker that belongs to the Physics system.

    Declaration
    public static ProfilerCategory Physics { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Render

    A ProfilerMarker that belongs to the Render system.

    Declaration
    public static ProfilerCategory Render { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Scripts

    Default category for all ProfilerMarkers defined in scripting code.

    Declaration
    public static ProfilerCategory Scripts { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Video

    A ProfilerMarker that belongs to the Video system.

    Declaration
    public static ProfilerCategory Video { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Vr

    A ProfilerMarker that belongs to the VR system.

    Declaration
    public static ProfilerCategory Vr { get; }
    Property Value
    Type Description
    ProfilerCategory
    See Also
    ProfilerMarker<TP1>

    Operators

    implicit operator ushort(ProfilerCategory)

    Utility operator that simplifies usage of the ProfilerCategory with ProfilerUnsafeUtility.

    Declaration
    public static implicit operator ushort(ProfilerCategory category)
    Parameters
    Type Name Description
    ProfilerCategory category
    Returns
    Type Description
    ushort

    ProfilerCategory value as UInt16.

    See Also
    ProfilerMarker<TP1>

    See Also

    ProfilerMarker<TP1>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)