I think it's a bit more complex than that in Scotland.
I know of people who voted Leave despite believing in the EU so that they could "wipe that smug grin off Nicola's face" (direct quote - and heard other comments of the same ilk
) assuming that Remain would win bet they're feeling sick
I also know an ardent Leaver who is also a strong supporter of Independence (got to know her via MN during the Indyref campaign). She objects to the EU on the basis of bureaucracy and constraints on trade/nationalised industries (not saying I agree with her, but she has passionate arguments not based on immigration). although I did meet one Leave voter who was doing so because of the immigrants in Kent 
I also know SNP members who are vehemently against TTIP and voted Leave because of that (no amount of explaining that we were more likely to experience the worst of TTIP via the Tories outwith the EU would convince them).
As in England, there will be a plethora of reasons why people voted the way that they did.
The only thing I would add is that the "Remain" politicians (of all colours) up here tried to keep the arguments about the EU more positive (couldn't do anything about the negativity of the UK wide campaign on MSM which is beamed direct into every house with a TV licence).
This was how Kirsty Blackman, MP for Aberdeen North put it in a Facebook post on 23 June. Note how it's all positive (except for the last statement
)
"Why should we stay in the EU?
It keeps us safer. It has made rules about how many hours we can work, about protecting us at work and has encouraged cooperation across Europe, protecting us from warfare.
It makes us more equal. We have the right to fair treatment, no matter what gender or race we are. We have the right to travel to EU countries to live and work in them.
It makes us more prosperous. We are part of a very large market. Trade is easier, both within the EU and without. Our rural and more marginalised areas receive EU funding to support them.
We are greener. Our planet is protected by the EU.
A leave vote means handing all of this to the Tories. How long will our protections last then? Vote Remain today."
To be fair on Ruth Davidson, she emphasised pretty much the same points (with perhaps a little less emphasis on workers' rights
)
I wonder if one of the reasons there was a lower turnout in Scotland was because there was a general sense it would be Remain here, so there wasn't the same need to get out and vote. But even if the turnout had been at the same level as in England, and every single one of those extra voters had voted Remain, it wouldn't have changed the overall result.
Plus we'd just had an election and some people do get "voting" fatigue.