Load all assets from folder.

Hello everyone!

Now I’m using Resource.LoadAll(); method for load assets, but it’s only for Resource folder.
Does someone know how to load all assets from any folder of project (not only Resource folder)?

Thanks,
Max.

There is no such facility. The Resources/ folders is special in that everything it contains invariably is bundled up when building players. Normally, assets will only be included in players if they are a direct or indirect dependency of one of the scenes included with the player (or if another special rule forces them into the player build).

I’d recommend taking a look at asset bundles as they may be somewhat in the direction of what you are looking for.