- Home /
 
               Question by 
               rfernandezmir · Jul 11, 2013 at 11:17 AM · 
                textureimagetexturesinitializefilename  
              
 
              Init a Texture from filename
I'd want to know if there's a way to, instead of making the Texture public and dragging the image in the inspector, somehow init the Texture by setting the path of the image I want in it. Any idea? Thanks!
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by dorpeleg · Jul 11, 2013 at 11:19 AM
You can use Resources.Load.
Resources.Load lets you load anything you want from the resource folder.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                