- Home /
Check which files a folder is containing
Hey there :)
Is there a way to get a list of files which a asset folder is containing? I have a folder called "Music" in my Assets and want to get a list of files / directories which this folder is containing.
King regards Enrico
Comment
Answer by Graham-Dunnett · Jun 16, 2013 at 01:11 PM
`System.IO.Directory.GetFiles()`.
Note that this will only work in the editor. When you make your game it will not have an Assets folder.
Thanks for reply! And yeah, my question was if it is possible to navigate through assets after building. Is there any way to deal with it?
Your answer
![](https://koobas.hobune.stream/wayback/20220613104255im_/https://answers.unity.com/themes/thub/images/avi.jpg)