public TravelingState(MissionGrid grid, MissionSelectPlayer player, Vector2Int toPos) { _grid = grid; _player = player; _path = _grid.GetPathInfoBetween(player.PlayerPos, toPos).path; _pathIndex = 0; _toPos = toPos; }