logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementAuthoringSectionGuiTests

    EditMode tests for the two decisions AchievementAuthoringSectionGui makes before it draws anything: whether the unlock preview can run, and which kind of box a finding belongs in. The drawing itself is not under test — IMGUI is not a unit.

    These moved off UnityAchievementDefinitionEditor when the sections were extracted, so the inspector and the Achievements Studio's detail pane could stop answering them separately.

    Inheritance
    object
    AchievementAuthoringSectionGuiTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAchievements.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class AchievementAuthoringSectionGuiTests

    Constructors

    AchievementAuthoringSectionGuiTests()

    Declaration
    public AchievementAuthoringSectionGuiTests()

    Methods

    ResolvePreviewBlockedReason_BlankId_NamesTheMissingId(string)

    Declaration
    public void ResolvePreviewBlockedReason_BlankId_NamesTheMissingId(string achievementId)
    Parameters
    Type Name Description
    string achievementId

    ResolvePreviewBlockedReason_OutsidePlayMode_DefersToTheSharedDispatcherGate()

    Declaration
    public void ResolvePreviewBlockedReason_OutsidePlayMode_DefersToTheSharedDispatcherGate()

    ToMessageType_MapsEverySeverity(AuthoringSeverity, MessageType)

    Declaration
    public void ToMessageType_MapsEverySeverity(AuthoringSeverity severity, MessageType expected)
    Parameters
    Type Name Description
    AuthoringSeverity severity
    MessageType expected
    In this article
    © 2026 Serenity. All Rights Reserved