logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ScoreMetricSetting

    Inspector row describing a single declaratively-authored score metric.

    Inheritance
    object
    ScoreMetricSetting
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Score.Infrastructure.Settings
    Assembly: Serenity.UnityScore.Infrastructure.dll
    Syntax
    public class ScoreMetricSetting

    Constructors

    ScoreMetricSetting()

    Declaration
    public ScoreMetricSetting()

    Fields

    Key

    Declaration
    public string Key
    Field Value
    Type Description
    string

    The unique string identifier for this metric.

    Kind

    Declaration
    public ScoreMetricKind Kind
    Field Value
    Type Description
    ScoreMetricKind

    The metric interpretation kind. Left uninitialized so it takes the enum's default (Integer, value 0) — the same default a freshly authored inspector row, a recipe-deserialized instance, and a plain new ScoreMetricSetting() all agree on without an explicit initializer.

    In this article
    © 2026 Serenity. All Rights Reserved