Ejemplo n.º 1
0
 private void GetNextWaypoint()
 {
     if (currentIndexWaypoint < waypointManager.getSize())
     {
         currentDestination = waypointManager.GetNeWaypoint(currentIndexWaypoint);
         currentIndexWaypoint++;
     }
 }
Ejemplo n.º 2
0
 private void GetNextWaypoint()
 {
     if (currentIndexWaypoint < waypointManager.waypoints.Length)
     {
         currentDestination = waypointManager.GetNeWaypoint(currentIndexWaypoint);
         currentIndexWaypoint++;
     }
 }