- Home /
How can I utilize different source files when building to different platforms?
I have a project that I am currently building two instances of. One for VR, and one for WebGL. Both builds are essentially the same game, but the WebGL build needs to utilize lower quality models and textures for the sake of file size.
Is there a way to do this dynamically so that I don't have to create two separate projects per platform? My only other idea is to have a duplicate of each scene, one with lower quality assets, and one with higher quality. I feel like Unity has to have an easier way to do this?
Your answer
![](https://koobas.hobune.stream/wayback/20220613052254im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How to build from script while using build settings from editor? 0 Answers
How to create a BuildOptions mask in the Editor Window? 2 Answers
Is it possible to exclude StreamingAssets depending on target platform? 1 Answer