- Home /
Is it safe to add reference to files in Resources folder?
Is there any problems with doing this? There's a sound file in my Resources folder that I want to drag and drop it to a prefab's component's variable in Inspector. I know there are multiple ways to avoid doing this but I'm curious.
Comment
In the way that it doesn't affect performance, doesn't cause random bug in build
Answer by tormentoarmagedoom · Feb 20, 2019 at 11:50 AM
Good day.
I should use
Clip Sound = Resources.Load("NameOfFile") as Clip;
Bye!
I'm asking if it's safe to drag reference, I'm not asking for alternative method
Your answer
