public void HighlightTile(Vector2Int pos)
    {
        GameObject highlighter = _highlighterFactory.Create();

        highlighter.transform.position = _mapManager.GetTilePosition(pos.x, pos.y) + new Vector3(0, 0, 0);
        _highlighted.Add(highlighter);
    }
Exemple #2
0
 public void Highlight()
 {
     highlightFactory.Create();
 }