Railcam 2D
HomeDocsSupport
Store

RailManager

public class Railcam2D.RailManager;

A component designed to make editing Rails easy.

This component has no effect on gameplay and can be removed from the scene before publishing.

Public Members

  • ViewSingle

ViewSingle

public bool ViewSingle = false;
Member Field
Type bool
Defaults To false

A bool that determines if the Scene View displays only the Rail currently being edited (true) or all Rails (false).

Home
Docs
Support
Jonathan Madelaine © 2025
Railcam 2D
Home
Docs
Support
User Guide
Getting Started
Importing the PackageAdding to a SceneMoving the CameraCreating a RailWaypointsEffectsMore Rails
Railcam 2D Component
Inspector UI
Rail Manager Component
Inspector UI
Rail Component
Inspector UIScene UI
Custom Component Integration
Integrating with Railcam 2DCreating Rails
Settings
API Reference
CameraTarget
InfluenceXInfluenceYPositionTransform
CurveType
Effect
ActiveCameraInterpolationTargetInterpolationWaypointIndex
FollowAxis
Rail
Activate()ActiveDeactivate()EffectsWaypoints
Railcam2D
Activate()ActiveAddTarget(Transform)AddTarget(Transform, float, float)AdjustedTargetPositionClearTargets()ConnectRails()Deactivate()DisconnectRails()FindRails()Move(float)OffsetRailsConnectedRemoveTarget(Transform)SmoothTargetPositionTargetsUpdateMethodUpdateTargetPosition()
RailManager
ViewSingle
RailUtilities
GetCameraPosition(Vector2, Rail)GetCameraPosition(Vector2, Rail[])
UpdateMethod
Waypoint
CurveControlPointCurveTypeFollowAxisPosition