Resources.LoadAll PrefabsOnly("path");

I see that I can use models = Resources.LoadAll<Texture>("Asteroids");and it will load all the textures in the folder and their childs folders.

I want to only load the prefabs, I see I can use UnityEditor.AssetDatabase.GetAllAssetPaths (); and filter there the suffix .prefab, but is not correct to use an editor thing inside a game.

Doesn’t putting all prefabs in one particular folder and

Resources.LoadAll<GameObject>("path")

work? just a guess.