logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum HudAnimationTrigger

    What makes an authored HUD element animation play.

    Namespace: Serenity.GameUi.Domain.Types
    Assembly: Serenity.GameUi.Domain.dll
    Syntax
    public enum HudAnimationTrigger

    Fields

    Name Description
    ON_SHOW

    Fires whenever the element becomes visible — including its first build.

    ON_SIGNAL

    Fires when the assembly-qualified signal named on the animation's own SignalTypeName is dispatched. Independent of the element's own UpdateTrigger or RefreshSignalTypeName — an animation can react to a different signal than the one that refreshes the element's bound value, or to one even when the element reads no value at all.

    ON_VALUE_CHANGE

    Fires on any value change, numeric or not — the animation counterpart of change feedback's own direction-agnostic ANY.

    ON_VALUE_DECREASE

    Fires when the element's bound value moves numerically downward.

    ON_VALUE_INCREASE

    Fires when the element's bound value moves numerically upward.

    In this article
    © 2026 Serenity. All Rights Reserved