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
UnityWaveSetSO
Assembly: Serenity.UnityWave.Infrastructure.dll
Syntax
public class UnityWaveSetSO : ScriptableObject, IWaveSet, IFoundationSettings
Constructors
UnityWaveSetSO()
Declaration
Fields
_guid
Declaration
Field Value
_id
Declaration
Field Value
waves
Declaration
protected List<UnityWaveConfigSO> waves
Field Value
Properties
Guid
Declaration
public string Guid { get; set; }
Property Value
Id
Declaration
public string Id { get; set; }
Property Value
WaveConfigs
Ordered list of concrete wave config ScriptableObjects.
Declaration
public IReadOnlyList<UnityWaveConfigSO> WaveConfigs { get; }
Property Value
WaveCount
Number of waves in this set.
Declaration
public virtual int WaveCount { get; }
Property Value
Waves
Ordered list of wave configurations.
Declaration
public IReadOnlyList<IWaveConfig> Waves { get; }
Property Value
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