Example #1
0
 private void StopTimerIfPointReached()
 {
     if (GlobalPosition.DistanceTo(_wanderController.TargetPosition) <= WanderCheckRange)
     {
         _wanderController.StopWanderTimer();
     }
 }