Namespace Serenity.UnityGameUi.Tests.Infrastructure
Classes
UnityGameHudPresenterTests
PlayMode tests for Serenity.GameUi.Infrastructure.Presenters.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 Serenity.GameUi.Infrastructure.Presenters.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.
UnityGameUiServiceTests
PlayMode tests for Serenity.GameUi.Infrastructure.Services.UnityGameUiService.
The service is a MonoBehaviour driven via AddComponent + its public API.
Verifies UiState tracking and forwarding to injected presenters (spy ports).