logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.CutscenePlayer.Tests.Editor.Builder

    Classes

    CutsceneCreatorTests

    EditMode tests for CutsceneCreator's Addressables registration of the created UnityCutscenePlayerSettings asset. Every test targets a fixture cutscene under a private temp folder — the real project-wide single settings asset (used by the production wizard) is never touched, so these tests stay hermetic regardless of what the project already has configured. Mirrors Serenity.GameSave.Tests.Editor.Builder.GameSaveCreatorTests. The one exception is Create_SecondCutsceneAfterAFirstOne_LandsAsASibling(): Serenity.Global.Infrastructure.Editor.SerenityDefaultAssetFolder.ResolveFor``1(System.String) scans the whole project with no folder scope, so that test asserts a precondition (exactly one non-package UnityCutscenePlayerSettings) before trusting its result, rather than being scoped to the temp folder itself.

    In this article
    © 2026 Serenity. All Rights Reserved