//Duplicated from UnityDrawerStatics to reduce compile time dependencies (Fixes some unity-specific trouble) public static List <string> GetAllComponentList() { return(FileOps.FindAllFilesRecursively(Application.dataPath + "/Scripts/", ".cs") .Where(f => f.Name.EndsWith("Comp.cs")) .Select( f => f.FullName.Replace(@"\", @"/") .Replace(Application.dataPath.Replace(@"\", @"/") + "/Scripts/", "") .Replace("Components/", "") .Replace("Features/", "") .Replace(".cs", "")) .ToList()); }