docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ProfilerMarker

    ProfilerMarker(string, string, string)

    Constructs the ProfilerMarker that belongs to the generic ProfilerCategory.Scripts category.

    Declaration
    public ProfilerMarker(string name, string param1Name, string param2Name)
    Parameters
    Type Name Description
    string name

    Name of a marker.

    string param1Name

    Name of the first parameter.

    string param2Name

    Name of the second parameter.

    Remarks

    Does nothing in Release Players.

    ProfilerMarker(ProfilerCategory, string, string, string)

    Constructs a ProfilerMarker.

    Declaration
    public ProfilerMarker(ProfilerCategory category, string name, string param1Name, string param2Name)
    Parameters
    Type Name Description
    ProfilerCategory category

    Profiler category.

    string name

    Name of a marker.

    string param1Name

    Name of the first parameter.

    string param2Name

    Name of the second parameter.

    Remarks

    Does nothing in Release Players.

    In This Article
    Back to top
    Copyright © 2024 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)