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.
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetStats
Assembly: Unity.Multiplayer.Tools.NetStats.dll
Syntax
[AttributeUsage(AttributeTargets.Enum)]
public class MetricTypeEnumAttribute : Attribute
Properties
DisplayName
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.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |