SHARE
TWEET

Untitled

a guest Dec 11th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(routeNumber == 0)    {carRoute = new List<Transform> { waypoints[0], waypoints[1], waypoints[2], waypoints[3], waypoints[4], waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0] };}
  2.         else if(routeNumber == 1)    {carRoute = new List<Transform> { waypoints[1], waypoints[2], waypoints[3], waypoints[4], waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1] };}
  3.         else if(routeNumber == 2)    {carRoute = new List<Transform> { waypoints[2], waypoints[3], waypoints[4], waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1], waypoints[2] };}
  4.         else if(routeNumber == 3)    {carRoute = new List<Transform> { waypoints[3], waypoints[4], waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1], waypoints[2], waypoints[3] };}
  5.         else if(routeNumber == 4)    {carRoute = new List<Transform> { waypoints[4], waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1], waypoints[2], waypoints[3], waypoints[4] };}
  6.         else if(routeNumber == 5)    {carRoute = new List<Transform> { waypoints[5], waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1], waypoints[2], waypoints[3], waypoints[4], waypoints[5] };}
  7.         else if(routeNumber == 6)    {carRoute = new List<Transform> { waypoints[6], waypoints[7], waypoints[8], waypoints[9], waypoints[10], waypoints[11], waypoints[0], waypoints[1], waypoints[2], waypoints[3], waypoints[4], waypoints[5], waypoints[6] };}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top