I want to list the scripts at a asset path, recursively, in c#. I also want to be able to grab the file in code and then be able to add it to game objects and do whatever.
Basically do what the Project Tree does.
How can I do this? should I use .Net libraries to achieve this?
I ended up doing something like this (copy pasted from different places, so it doesnt add up, but you should get the general idea).
answered Dec 14 '10 at 12:12 AM