logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityRailFollowerView

    MonoBehaviour that reads the current RailProgress from IGameRailService and applies the sampled pose to a target transform.
    Does NOT own rail state — it only consumes and visualises it.

    Inheritance
    object
    UnityRailFollowerView
    Implements
    IFoundationSettings
    Namespace: Serenity.GameRail.Infrastructure.Views
    Assembly: Serenity.UnityGameRail.Infrastructure.dll
    Syntax
    public class UnityRailFollowerView : MonoBehaviour, IFoundationSettings

    Constructors

    UnityRailFollowerView()

    Declaration
    public UnityRailFollowerView()

    Properties

    ApplyOrientation

    Declaration
    public bool ApplyOrientation { get; set; }
    Property Value
    Type Description
    bool

    Guid

    Declaration
    public string Guid { get; set; }
    Property Value
    Type Description
    string

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    IsBound

    Declaration
    public bool IsBound { get; }
    Property Value
    Type Description
    bool

    LastPose

    Declaration
    public RailPoseSampler.PoseResult LastPose { get; }
    Property Value
    Type Description
    RailPoseSampler.PoseResult

    LookAheadEpsilon

    Declaration
    public float LookAheadEpsilon { get; set; }
    Property Value
    Type Description
    float

    Phase

    Declaration
    public UnityRailFollowerView.UpdatePhase Phase { get; set; }
    Property Value
    Type Description
    UnityRailFollowerView.UpdatePhase

    RailIdValue

    Declaration
    public string RailIdValue { get; }
    Property Value
    Type Description
    string

    Smoothing

    Declaration
    public float Smoothing { get; set; }
    Property Value
    Type Description
    float

    Methods

    Bind(IGameRailService)

    Injects the rail service dependency. Called by the installer or composition root.

    Declaration
    public void Bind(IGameRailService railService)
    Parameters
    Type Name Description
    IGameRailService railService

    Implements

    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved