public void Highlight(Tile hightlightTile) { if (!isSelected) { HighlightTilemap.SetTile(LocalPlace, hightlightTile); } }
public void Dehighlight() { if (!isSelected) { HighlightTilemap.SetTile(LocalPlace, null); } }
public void Select(Tile selectedTile) { isSelected = true; HighlightTilemap.SetTile(LocalPlace, selectedTile); }
public void Deselect() { isSelected = false; HighlightTilemap.SetTile(LocalPlace, null); }