There is no difference in attitude between UK/Scotland and Spain/Catalonia.
Except that we allowed a referendum on independence and agreed to abide by the decision of the Scottish people, and Spain refused the Catalans all those things.
Otherwise no difference.