How to loop folders in directory
i want to get the names of the folders in a local directory Folders/AllFolders/ in js
Comment
Best Answer
Answer by jeremy11 · Nov 07, 2015 at 01:27 AM
Ok found it
for (var DirName : String in Directory.GetDirectories("RootFolder/")){
List.Add(DirName);
}
Your answer
Follow this Question
Related Questions
Change the directory of baked lightmaps 0 Answers
Why wont my script instantiate multiple instances? 1 Answer
Project Asset Folders Don't Show Objects Until I Click the Folder 1 Answer
Issues with namespaces and folder structure 1 Answer
How to disable LockTexture in case of LEVEL UNLOCK SYSTEM IN UNITY? 0 Answers