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