Class ScoreSettingsCreator.Input
Everything needed to create or update the settings asset.
Inherited Members
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 |