- Home /
Unity3d load sprite from Textures folder
Hi,
I have around 200 sprites (jpg pictures) in Assets>Textures>Pictures, and I have GameObject with . Is there a way for me to load sprites from that folder into this GameObject in code? Something like Resources.Load("path");
Thank you.
Comment
Sounds like you already found your solution: Resources.Load will load assets from any folder named "Resources".
Don't forget to change the directory the files are in to one named Resources.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Some textures don't load on iOS 0 Answers
Custom terrain textures,seeing seams,how do I fix this? 2 Answers
Dynamically building sprite by using masks in unity 1 Answer
Multiple SpriteSheets break batching 1 Answer