docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProfilingDataStore

    Inheritance
    object
    ProfilingDataStore
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.Profiling
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public class ProfilingDataStore

    Methods

    Add(string, int)

    Declaration
    public void Add(string fieldName, int value)
    Parameters
    Type Name Description
    string fieldName
    int value

    Clear()

    Declaration
    public void Clear()

    GetData(string)

    Declaration
    public int GetData(string fieldName)
    Parameters
    Type Name Description
    string fieldName
    Returns
    Type Description
    int

    GetReadonly()

    Declaration
    public IReadOnlyDictionary<string, int> GetReadonly()
    Returns
    Type Description
    IReadOnlyDictionary<string, int>

    HasData(string)

    Declaration
    public bool HasData(string fieldName)
    Parameters
    Type Name Description
    string fieldName
    Returns
    Type Description
    bool

    Increment(string, int)

    Declaration
    public void Increment(string fieldName, int count = 1)
    Parameters
    Type Name Description
    string fieldName
    int count
    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)