logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementWizardOptionsStepGui

    The behaviour step of CreateAchievementSettingsWindow: the ten AchievementOptionsAuthoring values, grouped the way an author thinks about them — who a player is, what an unlock does, and how hard the module tries to reach a storefront.

    Inheritance
    object
    AchievementWizardOptionsStepGui
    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.Builder
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public static class AchievementWizardOptionsStepGui
    Remarks

    A collaborator rather than more window for the same reason the platforms step is one: ten fields with their own tooltips, ranges and reveal rules are a screen's worth of IMGUI, and none of it is navigation. The progress-step slider is clamped to MinimumProgressPushStepPercent..MaximumProgressPushStepPercent — the validator's own bounds, not a second copy of them — so the step cannot produce a value the review step would then refuse.

    Methods

    Draw(AchievementOptionsAuthoring)

    Draws the option fields, mutating options in place.

    Declaration
    public static AchievementOptionsAuthoring Draw(AchievementOptionsAuthoring options)
    Parameters
    Type Name Description
    AchievementOptionsAuthoring options

    The values to edit. Never null.

    Returns
    Type Description
    AchievementOptionsAuthoring

    options, or a brand-new instance when "Reset to defaults" was pressed — the defaults live in AchievementSettingsDefaults and are reached by constructing the authoring object, so this step never carries a second copy of them.

    In this article
    © 2026 Serenity. All Rights Reserved