Do not build Resources files depending of the plateform

It’s possible to exclude resource from certain platform?


I build an app on mobile with a lot of images in resources. But for WebGL I want them on a server and download them instead of resources on the client.

I can handle it in code with #define but I don’t know how to exclude them in the build for WebGL.

The new AssetBundles system have all I need. I’ll remove all my resources and use only AssetBundle