List <Vector2> GetUwPath(List <Point> pfsPath) { var usPath = pfsPath.Select(p => CoordConverter.PFS_To_US(p)).ToList(); //--------------------------------------------------------------------------------------- //Debug.Log("НАЙДЕННЫЙ ПУТЬ: " + StringManipulation.ListToString(usPath)); //--------------------------------------------------------------------------------------- //А теперь путь в UW: var uwPath = usPath.Select(p => CoordConverter.US_To_UW(p)).ToList(); uwPath.Remove(uwPath[0]); return(uwPath); }