logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityWaveConfigSO

    ScriptableObject authoring asset for wave configuration. Uses scripted UnitySpawnEntry list for Time Crisis-style precise spawn control instead of archetype distribution counts. Maps to the Business WaveConfig via ToConfig().

    Inheritance
    object
    UnityWaveConfigSO
    Implements
    IWaveConfig
    IFoundationSettings
    Namespace: Serenity.Wave.Infrastructure.Settings
    Assembly: Serenity.UnityWave.Infrastructure.dll
    Syntax
    public class UnityWaveConfigSO : ScriptableObject, IWaveConfig, IFoundationSettings

    Constructors

    UnityWaveConfigSO()

    Declaration
    public UnityWaveConfigSO()

    Fields

    _guid

    Declaration
    protected string _guid
    Field Value
    Type Description
    string

    _id

    Declaration
    protected string _id
    Field Value
    Type Description
    string

    spawnEntries

    Declaration
    protected List<UnitySpawnEntry> spawnEntries
    Field Value
    Type Description
    List<UnitySpawnEntry>

    waveIndex

    Declaration
    protected int waveIndex
    Field Value
    Type Description
    int

    Properties

    Guid

    Declaration
    public string Guid { get; set; }
    Property Value
    Type Description
    string

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    SpawnEntries

    Scripted spawn entries for this wave.

    Declaration
    public IReadOnlyList<UnitySpawnEntry> SpawnEntries { get; }
    Property Value
    Type Description
    IReadOnlyList<UnitySpawnEntry>

    WaveIndex

    Zero-based wave index within the stage.

    Declaration
    public int WaveIndex { get; }
    Property Value
    Type Description
    int

    Methods

    ToConfig()

    Converts this ScriptableObject to the corresponding Business configuration model. Computes total actors from SpawnEntries.

    Declaration
    public virtual WaveConfig ToConfig()
    Returns
    Type Description
    WaveConfig

    An immutable WaveConfig value.

    Implements

    IWaveConfig
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved