Exemplo n.º 1
0
 /// <summary>
 /// Push new route to data
 /// </summary>
 /// <param name="newRouteName">Name of new route.</param>
 public void AddRoute(string newRouteName)
 {
     Debug.Log(newRouteName);
     mapData.AddRoute(newRouteName);
     currentRouteIndex = mapData.Length - 1;
     Debug.Log("currentRouteIndex: " + currentRouteIndex);
     //Debug.Log("Current Route: " + currentRouteIndex);
 }