logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityWaveServiceWaveChainTests

    PlayMode tests for consecutive waves: the first is cleared by recording the removal of every actor it spawned, and the second must then spawn its own actors and keep them. Reproduces the audit's report that the second wave's spawn did not always happen, both with every removal recorded in one synchronous batch and with the removals spread across frames; pins that an entry which cannot spawn never holds its wave open, and that a removal named by actor only ever counts against the wave that spawned that actor.

    Inheritance
    object
    UnityWaveServiceWaveChainTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityWave.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityWaveServiceWaveChainTests

    Constructors

    UnityWaveServiceWaveChainTests()

    Declaration
    public UnityWaveServiceWaveChainTests()

    Methods

    ActorIdNoWaveSpawned_ChangesNothing()

    Declaration
    public void ActorIdNoWaveSpawned_ChangesNothing()

    ActorOfTheFirstWaveRemovedAfterTheSecondWaveSpawned_LeavesTheSecondWaveUntouched()

    Declaration
    public void ActorOfTheFirstWaveRemovedAfterTheSecondWaveSpawned_LeavesTheSecondWaveUntouched()

    ActorRemovedTwice_CountsOnce()

    Declaration
    public void ActorRemovedTwice_CountsOnce()

    EveryActorOfTheCurrentWaveRemovedById_ClearsItAndStartsTheNext()

    Declaration
    public void EveryActorOfTheCurrentWaveRemovedById_ClearsItAndStartsTheNext()

    FirstWaveClearedAcrossFrames_SecondWaveSpawnsAndKeepsItsActor()

    Declaration
    public IEnumerator FirstWaveClearedAcrossFrames_SecondWaveSpawnsAndKeepsItsActor()
    Returns
    Type Description
    IEnumerator

    FirstWaveClearedInOneBatch_SecondWaveSpawnsAndKeepsItsActor()

    Declaration
    public IEnumerator FirstWaveClearedInOneBatch_SecondWaveSpawnsAndKeepsItsActor()
    Returns
    Type Description
    IEnumerator

    FirstWaveClearedInOneBatch_SecondWaveWithADelaySpawnsOnceItsDelayIsOver()

    Declaration
    public IEnumerator FirstWaveClearedInOneBatch_SecondWaveWithADelaySpawnsOnceItsDelayIsOver()
    Returns
    Type Description
    IEnumerator

    FirstWaveWithAnEntryThatCannotSpawn_ClearsOnceTheActorsThatSpawnedAreRemoved()

    Declaration
    public IEnumerator FirstWaveWithAnEntryThatCannotSpawn_ClearsOnceTheActorsThatSpawnedAreRemoved()
    Returns
    Type Description
    IEnumerator

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved