public virtual void SetTargetTile(PathfindingDemoGridTile targetTile) {
        if(ToTile != targetTile) {
            ToTile = targetTile;
            UnHighlightPath();
        }

        if (FromTile != null && FromTile != ToTile) {
                Path = AStar.Search(FromTile, ToTile);
                if (Path != null && Path.Count > 0 && Path.Contains(ToTile)) {
                    HighlightPath(Path);
                }
        }
    }
 public virtual void SetFromTile(PathfindingDemoGridTile fromTile) {
     if(FromTile != fromTile) {
         UnHighlightPath();
         FromTile = fromTile;
     }
 }