Esempio n. 1
0
 private void UpdateWaypoint()
 {
     if (++_currentWaypointIndex >= _patrolPath.GetWaypointsCount())
     {
         _currentWaypointIndex = 0;
     }
 }