logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLeaderboardViewInstaller

    Builds every authored leaderboard view (UnityLeaderboardViewDefinition) at startup and registers it with a UnityLeaderboardViewService. Leaderboard view assets share the LEADERBOARD Addressables label. Built views start hidden until shown through the IViewRouter. Mirrors UnityCascadeViewInstaller.

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

    Constructors

    UnityLeaderboardViewInstaller()

    Declaration
    public UnityLeaderboardViewInstaller()

    Properties

    Service

    The registry created by Install(UnityLeaderboardViewInstallerInput); 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 UnityLeaderboardViewService GetService()
    Returns
    Type Description
    UnityLeaderboardViewService

    The leaderboard view service.

    Install(UnityLeaderboardViewInstallerInput)

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

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

    Startup dependencies (canvas, leaderboard service/settings, ui service, router, log).

    In this article
    © 2026 Serenity. All Rights Reserved