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