docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Create

    Create<T>(T)

    Static function to create a MetricId.

    Declaration
    public static MetricId Create<T>(T value) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value

    Enum value for the metric.

    Returns
    Type Description
    MetricId
    Type Parameters
    Name Description
    T

    An enum with the MetricTypeEnumAttribute

    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)