logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnitySpawnEntry

    Serializable spawn entry defining when, where, and how many actors spawn. Used by UnityWaveConfigSO for scripted wave authoring.

    Inheritance
    object
    UnitySpawnEntry
    Namespace: Serenity.Wave.Infrastructure.Settings
    Assembly: Serenity.UnityWave.Infrastructure.dll
    Syntax
    public class UnitySpawnEntry : SpawnEntry

    Constructors

    UnitySpawnEntry()

    Declaration
    public UnitySpawnEntry()

    Fields

    actor

    Declaration
    protected Object actor
    Field Value
    Type Description
    Object

    cadence

    Declaration
    protected float cadence
    Field Value
    Type Description
    float

    count

    Declaration
    protected int count
    Field Value
    Type Description
    int

    spawnDelay

    Declaration
    protected float spawnDelay
    Field Value
    Type Description
    float

    spawnPointId

    Declaration
    protected string spawnPointId
    Field Value
    Type Description
    string

    Properties

    Actor

    Actor to spawn.

    Declaration
    public override object Actor { get; }
    Property Value
    Type Description
    object

    Cadence

    Time in seconds between each spawn.

    Declaration
    public override float Cadence { get; }
    Property Value
    Type Description
    float

    Count

    Number of actors to spawn in this entry.

    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    int

    SpawnDelay

    Delay in seconds before this group begins spawning.

    Declaration
    public override float SpawnDelay { get; }
    Property Value
    Type Description
    float

    SpawnPointId

    Spawn point identifier in the stage.

    Declaration
    public override string SpawnPointId { get; }
    Property Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved