logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Achievements.Installation.Installers

    Classes

    AchievementBackendFactory

    Resolves the IAchievementStore backend selected by the shared, consumer-agnostic UnityStructuredBackendDefinition asset assigned to UnityAchievementSettings.Backend, dispatching on the asset's concrete type — checking ICustomStructuredBackendDefinition FIRST so a project-defined store wins — then wraps the resolved IStructuredStore once in a StructuredStoreAchievementAdapter. Store construction lives in the shared StructuredBackendStores helper, parameterized by this factory's StructuredBackendConsumerProfile.

    AchievementInstaller

    Abstract base class for installing the Achievements service.

    UnityAchievementInstaller

    Unity-specific installer for the Achievements system. Loads a UnityAchievementSettings asset (soft fallback to the shared defaults when none is found), has Serenity.Achievements.Installation.Installers.AchievementCompositionRoot wire the module from it, and owns that composition's lifetime.

    UnityAchievementsInstallationStep

    Installs the achievements (unlocks, progress and trophy mirroring) aggregate into the running composition.

    UnityAchievementsInstallationStepInput

    The inspector-authored values UnityAchievementsInstallationStep installs from.

    UnityAchievementsViewInstallationStep

    Builds and registers achievements views (SO-authored achievement listings), then exposes the service as a view provider so a menu option or a ShowAchievementsSignal can show one by id. Runs after leaderboard views; achievements views are independent top-level views like menus, composites, cascades and leaderboards.

    UnityAchievementsViewInstaller

    Builds every authored achievements view (UnityAchievementsViewDefinition) at startup and registers it with a UnityAchievementsViewService. View assets share the ACHIEVEMENTS Addressables label. Built views start hidden until shown through the IViewRouter. Mirrors UnityLeaderboardViewInstaller.

    UnityAchievementsViewInstallerInput

    Dependencies required to build and register achievements views at startup. Mirrors the leaderboard-view installer input, plus the achievement service each view reads and the definition source its icons are recovered from.

    In this article
    © 2026 Serenity. All Rights Reserved