logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ScoreSettingsCreator.Input

    Everything needed to create or update the settings asset.

    Inheritance
    object
    ScoreSettingsCreator.Input
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Score.Infrastructure.Editor.Builder
    Assembly: Serenity.UnityScore.Infrastructure.Editor.dll
    Syntax
    public sealed class ScoreSettingsCreator.Input

    Constructors

    Input()

    Declaration
    public Input()

    Fields

    AssetName

    File name (without extension) for a brand-new settings asset. Ignored while updating an existing asset.

    Declaration
    public string AssetName
    Field Value
    Type Description
    string

    ExistingSettingsAssetPath

    Path of an already-existing UnityScoreSettings asset to edit in place — set this (the window's "Edit existing" pick, or a test's fixture path) to update rather than create. Leave empty to create a brand-new asset under NewSettingsFolderPath.

    Declaration
    public string ExistingSettingsAssetPath
    Field Value
    Type Description
    string

    Id

    Identifier written onto the settings asset, both on creation and on every update.

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Metrics

    The declaratively-authored metric rows written onto the settings asset.

    Declaration
    public ScoreMetricSetting[] Metrics
    Field Value
    Type Description
    ScoreMetricSetting[]

    NewSettingsFolderPath

    Folder a brand-new settings asset is created under. Ignored while updating an existing asset.

    Declaration
    public string NewSettingsFolderPath
    Field Value
    Type Description
    string

    RegisterAsAddressables

    Declaration
    public bool RegisterAsAddressables
    Field Value
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved