Class MetricTypeEnumAttribute
Use this attribute to declare an enum that represents custom metrics for use with the Multiplayer Tools package. In particular, this attribute can be used to declare custom metrics that can be displayed in the RuntimeNetStatsMonitor.
Implements
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetStats
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Enum)]
public class MetricTypeEnumAttribute : Attribute, _Attribute
Properties
Name | Description |
---|---|
Display |
The custom display name to use for the metric enum. This can be set to something different than the name of the enum to provide a nicer display name in UIs like the inspector. |