Hi,
How to Load images from folder and set them in a List?
public List<GameObject> Img_Re = new List<GameObject>();
// Start is called before the first frame update
void Start()
{
// Folder path "Assets/Images/Enemies"
}
Hi,
How to Load images from folder and set them in a List?
public List<GameObject> Img_Re = new List<GameObject>();
// Start is called before the first frame update
void Start()
{
// Folder path "Assets/Images/Enemies"
}
I like Resources.Load() for assets.
Some people here prefer Addressables.
Use System.IO calls only if they are NOT assets in your project.
The purpose of this forum is to assist people who are ready to learn by doing, and who are unafraid to get their hands dirty learning how to code, particularly in the context of Unity3D.
This assumes you have at least written and studied some code and have run into some kind of issue.
If you haven’t even started yet, go check out some Youtube videos for whatever game design you have in mind. There are already many examples of the individual parts and concepts involved, as there is nothing truly new under the sun.
If you just want someone to do it for you, you need go to one of these places:
https://livehelp.unity.com/?keywords=&page=1&searchTypes=lessons