docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    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

    Name Description
    RegisterType<TEnumType>()

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

    In This Article
    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)