logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementsStudioToolbarGui

    The Studio's toolbar: what can be done to the achievement set, how healthy it is, and what the list is narrowed to.

    Inheritance
    object
    AchievementsStudioToolbarGui
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Achievements.Infrastructure.Editor.Studio
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public static class AchievementsStudioToolbarGui
    Remarks

    A collaborator rather than a facet of the window, because it holds no state of its own — it is handed what the window knows and answers with what the author asked for. That keeps the window's own file about the list, the selection and the panes, and makes the toolbar's disabled-state rules readable in one screen instead of interleaved with them.

    Methods

    Draw(string, AchievementsStudioFilterKind, HealthSummary, bool, string)

    Draws the toolbar and reports what the author asked for.

    Declaration
    public static AchievementsStudioToolbarGui.Result Draw(string search, AchievementsStudioFilterKind filter, AchievementsStudioToolbarGui.HealthSummary summary, bool hasSelection, string searchControlName)
    Parameters
    Type Name Description
    string search

    The search text as it stands.

    AchievementsStudioFilterKind filter

    The category as it stands.

    AchievementsStudioToolbarGui.HealthSummary summary

    How the achievement set currently reads.

    bool hasSelection

    Whether an achievement is selected, which gates Duplicate and Delete.

    string searchControlName

    The control name the window gives the search field, so it can tell whether the author is typing before it treats an arrow key as list navigation.

    Returns
    Type Description
    AchievementsStudioToolbarGui.Result

    What was pressed, and how the list is now narrowed.

    In this article
    © 2026 Serenity. All Rights Reserved