logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.GameRail.Infrastructure.Drivers

    Classes

    UnityRailDriver

    Optional auto-advance component that drives RailProgress forward each frame by calling AdvanceProgress(RailId, float).
    Attach alongside UnityRailFollowerView or use independently.

    Enums

    UnityRailDriver.EndBehaviour

    Behaviour when progress reaches 1. Clamp and Loop delegate directly to Advance(float, RailAdvanceMode); PingPong stays driver-local because it needs a direction flag that is not part of the domain progress model.

    In this article
    © 2026 Serenity. All Rights Reserved