// reverses the routepoints list, because it needs to go from player to the destination // will also show the path if calculations need to be shown public static void ShowRoute() { RoutePoints.Reverse(); if (showCalculations) { foreach (GameObject RP in RoutePoints) { RP.GetComponent <Waypoint>().distanceText.color = Color.white; } } }