[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.Profiling.ProfilerCategory.html [Back]  [Original]

Unity - Scripting API: ProfilerCategory
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    ProfilerCategory

    struct in Unity.Profiling

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    Use to specify category for instrumentation Profiler markers.

    using Unity.Profiling;

    public class MySystemClass { static readonly ProfilerMarker s_SimulatePerfMarker = new ProfilerMarker(ProfilerCategory.Ai, "MySystem.Simulate");

    public void UpdateLogic() { using (s_SimulatePerfMarker.Auto()) { // ... } } }

    Additional resources: ProfilerMarker.

    Static Properties

    Property Description
    AiAI and NavMesh Profiler category.
    AnimationAnimation Profiler category.
    AudioAudio system Profiler category.
    FileIOFile IO Profiler category.
    GuiUI Profiler category.
    InputInput system Profiler category.
    InternalInternal Unity systems Profiler category.
    LightingGlobal Illumination Profiler category.
    LoadingLoading system Profiler category.
    MemoryMemory allocation Profiler category.
    NetworkNetworking system Profiler category.
    ParticlesParticle system Profiler category.
    PhysicsPhysics system Profiler category.
    Physics2DThe Physics 2D system category for the Profiler.
    RenderRendering system Profiler category.
    ScriptsGeneric C# code Profiler category.
    U2D2D Profiler category.
    UIToolkitUI Toolkit Profiler category.
    VideoVideo system Profiler category.
    VirtualTexturingVirtual Texturing system Profiler category.
    VrVR systen Profiler category.

    Properties

    Property Description
    ColorGets Profiler category color.
    NameGets Profiler category name.

    Constructors

    Constructor Description
    ProfilerCategoryUse to construct ProfilerCategory by category name.

    Web Proxy Viewer  |  New URL  |  Original Page