- Home /
Multiple calls of Resources.Load for the same resource
What's the cost of calling Resources.Load() for the same resource in terms of memory? Does it load the resource only the first time? Do the consequent calls only reference already loaded resource?
Comment
Answer by zactanpeterson · Nov 25, 2019 at 10:23 PM
If it's all in the same scope, just keep the resource in a variable, otherwise, it shouldn't matter calling it multiple times. I don't know how costly it is, but it's probably nothing to worry about.