Class MetricMetadataAttribute
Attribute to provide more information about a metric, such as a custom name and units.
Implements
Inherited Members
Namespace: Unity.Multiplayer.Tools.NetStats
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class MetricMetadataAttribute : Attribute, _Attribute
Properties
Name | Description |
---|---|
Display |
Toggle for the metric to be shown as a percentage. This should only be used for unitless metrics. |
Display |
The custom display name to show for a metric. |
Metric |
The kind of metric. By default, the metric is a counter. |
Units | The units for the metric. By default, there are no units. |