- Home /
 
 
               Question by 
               gkillz · Nov 30, 2015 at 01:46 PM · 
                resources.loaddynamic loading  
              
 
              Do we need to Load Referenced assets of a Dynamically loaded prefab, when those assets are also in Resources folder ?
I have a prebab in resource folder which is refrencing some material which too are in resources folder thes materials refrence textures and those textures are also in resources folder.
now if i dynamically load the prefab using-
 GameObject go = (GameObject)Instantiate(Resources.Load<GameObject>("prefabA"));
 
               then do i also need to dynamically load the materials and their textures referenced from the prefabA ??
               Comment
              
 
               
              Your answer