docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MetricId

    Wrapper around an enum with the MetricTypeEnumAttribute. The struct provide a way to create metric that can be used with multiplayer tools.

    Implements
    IEquatable<MetricId>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Multiplayer.Tools.NetStats
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct MetricId : IEquatable<MetricId>

    Methods

    Name Description
    Create<T>(T)

    Static function to create a MetricId.

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Equals(MetricId)

    Determines whether the specified MetricId is equal to the current MetricId.

    GetHashCode()

    Serves as the default hash function.

    ToString()

    Returns a string that represents the current MetricId.

    Operators

    Name Description
    implicit operator string(MetricId)

    Implicit operator to convert to string.

    In This Article
    • Methods
    • Operators
    Back to top
    Copyright © 2023 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)