Get ONLY used assets in Editor

Hey!

Is there a way, a method exposed by Unity or something, to grab all the assets that are actually used in the project? I mean, I know Unity does this when you build your project, it only includes stuff that is being used and move on with the build. Is there a way to get this list of assets?

We are working on a possible plugin, and if we are able to at least get an event AFTER unity pruned the assets or an exposed methods… that would be magic!

Well, any assistance would be greatly appreciated!
Best regards,
Allan

I don’t think such a method exists. What sort of event are you looking for exactly ?

Hmmm thats too bad… we wanted to make a tool that made a sweep on all assets that are going to the build and make certain changes to them automaticaly. Since some of the changes involves creating an atlas of textures, we would like to keep textures to a minimun, hence why we would like to access only the “cropped” assets.