I have a lot of nodes on a root scene graph item that get destroyed on startup… I was wondering if there was a build process injection I can do to remove these game objects for when I build, but keep them in a source scene??
Just discovered this myself today: http://unity3d.com/support/documentation/Manual/Publishing%20Builds.html
Any GameObject in a scene that is tagged with ‘EditorOnly’ (the drop down on the left near the very top of the Inspector window) will be not be included in the published build. This is useful for debugging scripts that don’t need to be included in the final game.