docs.unity3d.com
    Show / Hide Table of Contents

    Class MetricIdTypeLibrary

    For internal use. Static class to register MetricId and make them available to all tools.

    Inheritance
    Object
    MetricIdTypeLibrary
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Tools.NetStats
    Syntax
    public static class MetricIdTypeLibrary
    Remarks

    There is no need to manually call this class for custom type as they are automatically registered through CodeGen if they are marked with MetricTypeEnumAttribute.

    Methods

    RegisterType<TEnumType>()

    For internal use. Register an enum type to be used as a MetricId.

    Declaration
    public static void RegisterType<TEnumType>()
    Type Parameters
    Name Description
    TEnumType

    The enum type to register.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023