logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum LayerPhaseMode

    Governs how a ProceduralLayerSO derives the clock it uses to drive its own phase/step progression.

    Namespace: Serenity.ProceduralAnimator.Infrastructure.ProceduralLayers
    Assembly: Serenity.UnityProceduralAnimator.Infrastructure.dll
    Syntax
    public enum LayerPhaseMode

    Fields

    Name Description
    ABSOLUTE

    Legacy/default behavior: the layer reads the shared animation clock. This is the only mode that existed before activation-relative phasing was introduced, so it must remain the default for every existing scene/asset to keep behaving identically. Looping (where applicable) is governed by the layer's own 'loop' field.

    ON_ACTIVATE

    The layer's clock is relative to when the owning ProceduralAnimatorComponent last activated it (via ActivateLayer), so its sequence/phase always starts at zero on activation. Repetition (where applicable) is governed by the layer's RepeatCount instead of 'loop'.

    In this article
    © 2026 Serenity. All Rights Reserved