logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum LeaderboardBackgroundMode

    Where a leaderboard view's background comes from.

    Namespace: Serenity.Leaderboard.Infrastructure.Settings
    Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
    Syntax
    public enum LeaderboardBackgroundMode
    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 view already authored in a consumer's project.

    Fields

    Name Description
    CUSTOM

    Shows the author's own sprite, sliced and sized per LeaderboardBackgroundSlicing.

    HIDDEN

    No background renders at all.

    THEME

    Shows the theme's background untouched: sprite, slicing, everything the theme prefab already authored. A procedural panel (no theme configured) shows its own procedural default. The default for every newly authored view.

    In this article
    © 2026 Serenity. All Rights Reserved