logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardButtonHandle

    One built button on a leaderboard view: the authored data it renders, the rect LeaderboardPanelPlacementApplier places, and however it shows focus — a themed UnityUiSubmitComponent's native highlight when the theme built it, or a tinted UnityEngine.UI.Image for the template/procedural fallbacks. Built only by LeaderboardButtonFactory.

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

    Properties

    Button

    The authored button this handle renders.

    Declaration
    public LeaderboardViewButton Button { get; }
    Property Value
    Type Description
    LeaderboardViewButton

    Rect

    The built rect, placed by LeaderboardPanelPlacementApplier.

    Declaration
    public RectTransform Rect { get; }
    Property Value
    Type Description
    RectTransform

    Themed

    The themed submit component, when the theme's Submittable built this button; null otherwise.

    Declaration
    public UnityUiSubmitComponent Themed { get; }
    Property Value
    Type Description
    UnityUiSubmitComponent

    Methods

    SetFocused(bool)

    Shows or hides focus: the theme's native highlight when built, a tint on the fallback's own image otherwise.

    Declaration
    public void SetFocused(bool focused)
    Parameters
    Type Name Description
    bool focused

    Events

    Submitted

    Raised when the button is submitted (themed submit, template/procedural mouse click, or the bar's own confirm input).

    Declaration
    public event Action Submitted
    Event Type
    Type Description
    Action
    In this article
    © 2026 Serenity. All Rights Reserved