- Home /
Load resources the scene depend on but not in "Resources" folder
Hey,I have the file directory like this.
Assets
--Scenes
----s1.unity
----s2.unity
--Resources
--Materials
----m1.mat
scene1 use material which in Materials folder.
I want to dynamically load m1.mat in the code in scene2 in run time.
But Resources.Load method can only load resouce in Resources folder.
Comment
Answer by theLucre · Dec 02, 2014 at 05:07 AM
You can have multiple Resources folders, but any assets loaded from scripts need to be within one of these Resources folders.