logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityStage.Tests.Infrastructure

    Classes

    SpawnPointRegistryTests

    PlayMode tests for SpawnPointRegistry. SpawnPoint ids are private serialized fields, so the registry is exercised with no resolvable points: empty-id points are skipped during Build (warning), and lookups for any id miss.

    SpawnPointTests

    PlayMode tests for SpawnPoint. The serialized id field is private and cannot be set from a test, so these tests cover the transform-derived Pose and the empty-id behaviour of Id.

    StageRootTests

    PlayMode tests for StageRoot. The serialized stageId is private; an unconfigured StageRoot exposes an empty-but-non-null StageId.

    UnityStageServiceTests

    PlayMode tests for UnityStageService. Covers initialization, prefab instantiation (null + real), authoring-component extraction, and the stage lifecycle (start / complete / fail / snapshot).

    In this article
    © 2026 Serenity. All Rights Reserved