Hey all. Just as title says - I need to check what prefabs exist in specific project folder (e.g. “Assets/FunnyFolder/NotFunnyFolder/”)
I tried using AssetsDatabase and PrefabUtility, but I can’t work it out. My last try was:
string[] assets = AssetDatabase.FindAssets("Assets/UglyFolder/");
Debug.Log(assets[0]);
I also googled and the only workaround I found, someone posted to use System.IO which I would prefer to avoid.
Any ideas?