logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.ProceduralExpression.Infrastructure.Conditions

    Classes

    AlwaysTrueCondition

    Condition that is always met. Useful for layers that should always be active.

    AndCondition

    Composite condition that is met only when ALL child conditions are met.

    Condition

    Base class for conditions stored directly within RuleSO using [SerializeReference]. Conditions are serialized inline and don't create separate assets.

    NotCondition

    Condition that inverts the result of another condition.

    OrCondition

    Composite condition that is met when ANY child condition is met.

    RangeCondition

    Condition that is met when a state value is within a specified range.

    ThresholdCondition

    Condition that triggers when a state value crosses a threshold. Uses hysteresis to prevent flickering between states.

    In this article
    © 2026 Serenity. All Rights Reserved