logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityGameUi.Tests.Infrastructure

    Classes

    UnityGameHudPresenterTests

    PlayMode tests for UnityGameHudPresenter. The presenter toggles a serialized HUD-root GameObject's active state. The private serialized field is injected via reflection to exercise both the active path and the null-guard path.

    UnityGameResultsPresenterTests

    PlayMode tests for UnityGameResultsPresenter. The presenter toggles a serialized results-root GameObject's active state. The private serialized field is injected via reflection to exercise both the active path and the null-guard path.

    UnityGameScreenPresenterTests

    PlayMode tests for UnityGameScreenPresenter. The presenter toggles the GameObject root mapped to the active screen id and deactivates every other mapped root. The private serialized list is injected via reflection to exercise the matching path, the deactivation-of-others path, and the null-guard path.

    UnityGameUiServiceTests

    PlayMode tests for UnityGameUiService. The service is a MonoBehaviour driven via AddComponent + its public API. Verifies UiState tracking and forwarding to injected presenters (spy ports).

    In this article
    © 2026 Serenity. All Rights Reserved