logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAchievementsViewDefinition

    A view definition that renders the player's achievements through a UnityAchievementsPanel. It is a first-class transition target: a menu option (or a ShowAchievementsSignal) carrying this view's Id shows it through the IViewRouter, exactly like a menu, a cascade or a leaderboard view.

    Inheritance
    object
    UnityAchievementsViewDefinition
    Namespace: Serenity.Achievements.Infrastructure.Settings
    Assembly: Serenity.UnityAchievements.Infrastructure.dll
    Syntax
    public class UnityAchievementsViewDefinition : UnityViewDefinition
    Remarks

    One asset per screen rather than one project-wide listing, because "all achievements", "only what I have earned" and "what is left" are three screens a project may want to reach independently from three menu options, and they differ only in these fields.

    Constructors

    UnityAchievementsViewDefinition()

    Declaration
    public UnityAchievementsViewDefinition()

    Fields

    EmptyStateMessage

    Declaration
    public string EmptyStateMessage
    Field Value
    Type Description
    string

    FilterMode

    Declaration
    public AchievementRowFilterMode FilterMode
    Field Value
    Type Description
    AchievementRowFilterMode

    HiddenPlaceholder

    Declaration
    public string HiddenPlaceholder
    Field Value
    Type Description
    string

    LoadingMessage

    Declaration
    public string LoadingMessage
    Field Value
    Type Description
    string

    ReturnViewId

    Declaration
    public string ReturnViewId
    Field Value
    Type Description
    string

    ShowHiddenAsPlaceholder

    Declaration
    public bool ShowHiddenAsPlaceholder
    Field Value
    Type Description
    bool

    ShowPointsSummary

    Declaration
    public bool ShowPointsSummary
    Field Value
    Type Description
    bool

    ShowScreenshotThumbnails

    Declaration
    public bool ShowScreenshotThumbnails
    Field Value
    Type Description
    bool

    SortMode

    Declaration
    public AchievementRowSortMode SortMode
    Field Value
    Type Description
    AchievementRowSortMode

    Title

    Declaration
    public string Title
    Field Value
    Type Description
    string

    TitleIsTranslating

    Declaration
    public bool TitleIsTranslating
    Field Value
    Type Description
    bool

    VisibleRowCount

    Declaration
    public int VisibleRowCount
    Field Value
    Type Description
    int

    Methods

    ResolveMappingOptions()

    Resolves this view's presentation choices into the options its rows are mapped with, so the mapper never has to know it was configured from a ScriptableObject.

    Declaration
    public AchievementRowMappingOptions ResolveMappingOptions()
    Returns
    Type Description
    AchievementRowMappingOptions

    The mapping options.

    In this article
    © 2026 Serenity. All Rights Reserved