logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class 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.

    Inheritance
    object
    UnityAchievementsViewInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Achievements.Installation.Installers
    Assembly: Serenity.UnityAchievements.Installation.dll
    Syntax
    public sealed class UnityAchievementsViewInstaller

    Constructors

    UnityAchievementsViewInstaller()

    Declaration
    public UnityAchievementsViewInstaller()

    Properties

    Service

    The registry created by Install(UnityAchievementsViewInstallerInput); null until then.

    Declaration
    public IViewProvider Service { get; }
    Property Value
    Type Description
    IViewProvider

    Methods

    GetService()

    The created service, for host registration with the service locator and the router.

    Declaration
    public UnityAchievementsViewService GetService()
    Returns
    Type Description
    UnityAchievementsViewService

    The achievements view service.

    Install(UnityAchievementsViewInstallerInput)

    Builds and registers all achievements views (hidden) from their definitions.

    Declaration
    public void Install(UnityAchievementsViewInstallerInput input)
    Parameters
    Type Name Description
    UnityAchievementsViewInstallerInput input

    Startup dependencies (canvas, achievement service, definition source, ui service, router, log).

    In this article
    © 2026 Serenity. All Rights Reserved