docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EndProfilingSampler

    EndProfilingSampler(ProfilingSampler, string, int)

    End a profiling scope.

    Declaration
    public void EndProfilingSampler(ProfilingSampler sampler, string file = "", int line = 0)
    Parameters
    Type Name Description
    ProfilingSampler sampler

    Sampler used for profiling.

    string file

    File name of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.

    int line

    File line of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.

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