I’m working on a mobile game that includes several minigames that we’re downloading as Asset Bundled scenes. These minigames use their own gameplay code which does not get compiled with the build when we’re also using build stripping. We would like to use build stripping to remove unused internal code while still keeping the minigame code in our compiled build.
We’ve thought of putting all our own code in a Resources folder or referencing all our own code in a MonoBehaviour somewhere but both of these solutions would require quite a lot of manual work and would also be hard to maintain in the long run. Is there an easier way to force inclusion of code in builds?