logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum LeaderboardViewElement

    The parts of a leaderboard view a placement can be authored for.

    Namespace: Serenity.Leaderboard.Infrastructure.Settings
    Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
    Syntax
    public enum LeaderboardViewElement
    Remarks

    Append-only: Unity serializes enums by ordinal, so a member inserted anywhere but the end would renumber the ones after it and silently misplace every leaderboard already authored in a consumer's project.

    Fields

    Name Description
    BACKGROUND

    The panel's background. Placeable only when it resolves to a wired background slot or a child named "Background" — the procedural fallback's background IS the panel's own root, so it is never a placement target (see UnityLeaderboardPanel.TryResolveElementRect).

    EMPTY_STATE

    The message shown in place of the rows when the board has no entries.

    ROWS

    The scrolling list of ranked entries.

    TITLE

    The panel header, or the fallback BoardId text when no title is authored.

    In this article
    © 2026 Serenity. All Rights Reserved