public void SetNewPosition() { GridTile gridTile = GridEditor.SelectedCell; x = gridTile.x; y = gridTile.y; SetPosition(gridTile); GridEditor.ChangeSelectedCell(null); SetName(); }
public void Select() { _gridEditor.ChangeSelectedCell(this); _material.color = selected; }