internal static IEnumerable <string> GetAllScriptGUIDs() { return (from asset in AssetDatabase.GetAllAssetPaths() where InternalEditorUtility.IsScriptOrAssembly(asset) select AssetDatabase.AssetPathToGUID(asset)); }