Пример #1
0
 public RailInfo(GravityRail myRail, Vector2 point, Vector2 tan, float dist)
 {
     alongRail    = true;
     rail         = myRail;
     closestPoint = point;
     tangent      = tan;
     distance     = dist;
 }
Пример #2
0
 public void RemoveTrackSegment(GravityRail rail)
 {
     rails.Remove(rail);
 }
Пример #3
0
 public RailInfo(GravityRail myRail)
 {
     alongRail = false;
     rail      = myRail;
 }
Пример #4
0
 public void AddTrackSegment(GravityRail rail)
 {
     rails.Add(rail);
 }