Exemple #1
0
        public void SetNewPosition()
        {
            GridTile gridTile = GridEditor.SelectedCell;

            x = gridTile.x;
            y = gridTile.y;
            SetPosition(gridTile);
            GridEditor.ChangeSelectedCell(null);
            SetName();
        }
Exemple #2
0
 public void Select()
 {
     _gridEditor.ChangeSelectedCell(this);
     _material.color = selected;
 }