logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class HudAnimationLayerEditorGuiTests

    EditMode tests for Serenity.GameUi.Infrastructure.Editor.Builder.HudAnimationLayerEditorGui.BuildHeaderContent(Serenity.ProceduralAnimator.Infrastructure.ProceduralLayers.ProceduralLayerSO): the foldout header's tooltip must always carry the full "{kind} — {layer.name}" text, so a header clipped by a narrow detail pane stays recoverable on hover, with the collapsed-warning sentence appended when the layer is misconfigured. Pure UnityEngine.GUIContent construction — no draw call in it — so it is covered directly rather than through an IMGUI pass.

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

    Follows the create-instance / destroy-immediate fixture shape HudAnimationSequenceLayerInspectorCacheTests uses for its own UnityEngine.ScriptableObject layer fixture.

    Constructors

    HudAnimationLayerEditorGuiTests()

    Declaration
    public HudAnimationLayerEditorGuiTests()

    Methods

    BuildHeaderContent_AbsolutePhaseWithLoopTrue_TooltipCarriesNoWarning()

    Declaration
    public void BuildHeaderContent_AbsolutePhaseWithLoopTrue_TooltipCarriesNoWarning()

    BuildHeaderContent_Default_TooltipCarriesLabelAndBothWarnings()

    Declaration
    public void BuildHeaderContent_Default_TooltipCarriesLabelAndBothWarnings()

    BuildHeaderContent_NoCollapsedWarnings_TooltipMatchesPlainLabel()

    Declaration
    public void BuildHeaderContent_NoCollapsedWarnings_TooltipMatchesPlainLabel()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved