Example #1
0
 public void SetCamRail(CameraRail rail, bool trackPlayer)
 {
     print("switch to: <color=yellow>Follow Rail</color>");
     m_CamState = CamState.FollowRail;
     for (int i = 0; i < rail.m_PointsOnRail.Length; i++)
     {
         m_FollowPoints.Insert(i, rail.m_PointsOnRail[i]);
     }
     b_TrackPlayer = trackPlayer;
     print("Tracking on rail: " + b_TrackPlayer);
 }
Example #2
0
 public void SetParentRail(CameraRail r)
 {
     m_ParentRail = r;
 }