Get file names from Resources sub folder
问题 In my Resources folder I have a subfolder for images, I would like to get all the file names of those images from within that folder. tried several Resources.loadAll methods to afterwards get the .name but without success was is the right practice to achieve what I'm trying to do here ? 回答1: Hmm... why not try this. using System.IO; Const String path = ""; /file path private void GetFiles() { string [] files = Directory.GetFiles (path, "*.*"); foreach (string sourceFile in files) { string