logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityWaveSetSO

    ScriptableObject that groups an ordered list of IWaveConfig into a single wave set. Referenced by StageRoot to define all waves within a stage.

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

    Constructors

    UnityWaveSetSO()

    Declaration
    public UnityWaveSetSO()

    Fields

    _guid

    Declaration
    protected string _guid
    Field Value
    Type Description
    string

    _id

    Declaration
    protected string _id
    Field Value
    Type Description
    string

    waves

    Declaration
    protected List<UnityWaveConfigSO> waves
    Field Value
    Type Description
    List<UnityWaveConfigSO>

    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

    WaveConfigs

    Ordered list of concrete wave config ScriptableObjects.

    Declaration
    public IReadOnlyList<UnityWaveConfigSO> WaveConfigs { get; }
    Property Value
    Type Description
    IReadOnlyList<UnityWaveConfigSO>

    WaveCount

    Number of waves in this set.

    Declaration
    public virtual int WaveCount { get; }
    Property Value
    Type Description
    int

    Waves

    Ordered list of wave configurations.

    Declaration
    public IReadOnlyList<IWaveConfig> Waves { get; }
    Property Value
    Type Description
    IReadOnlyList<IWaveConfig>

    Methods

    GetWaves<T>()

    Gets the waves of the specified type.

    Declaration
    public IReadOnlyList<T> GetWaves<T>() where T : IWaveConfig
    Returns
    Type Description
    IReadOnlyList<T>

    The waves of the specified type.

    Type Parameters
    Name Description
    T

    The type of wave to get.

    Implements

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