p5.js load folder with images code example
Example 1: how to add image in html from a folder
|-> myhtmlfiles
|-> index.html
|-> images
|-> my_image.jpg
<img src="../images/my_image.jpg">
Example 2: unity load text resources from subfolder
TextAsset mytxtData = (TextAsset)Resources.Load("SubfolderName/");
string txt_encoded = Encoding.UTF8.GetString(mytxtData.bytes);