/// <summary>
 /// Движение между объектами
 /// </summary>
 public void Move()
 {
     if (MoveManager.work.IsDistance(transform, target, minDistance))
     {
         MoveManager.work.RotateTo(transform, target, speedRotate);
         MoveManager.work.MoveTo(transform, target, speedMove);
     }
     else
     {
         MoveManager.Stop(transform, target);
     }
 }
 /// <summary>
 /// Остановить движение
 /// </summary>
 /// <param name="transform">Основной объект</param>
 /// <param name="target">Цель</param>
 public static void StopMove(this Transform transform, Transform target)
 {
     MoveManager.Stop(transform, target);
 }