private MarkerDirection CalculateMarkerDirection()
 {
     if (transform.localPosition.x > DestinationDistance)
     {
         return(MarkerDirection.Left());
     }
     if (transform.localPosition.x < _originDistance)
     {
         return(MarkerDirection.Right());
     }
     return(_direction);
 }
 private void Update()
 {
     _currentAction.Invoke();
     _direction = CalculateMarkerDirection();
 }