public void ComputePathFinding(SpaceObject objectSelected, Tile destinationTile, HashSet <Tile> moveRangeTiles) { m_PathFindingTiles.Clear(); if (moveRangeTiles.Contains(destinationTile) == true) { m_PathFindingTiles = PathFinding.FindDirectPath(objectSelected, destinationTile); } }