- Home /
Build processing
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??
Answer by sampenguin · Apr 06, 2012 at 04:20 PM
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613062826im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Running batch script or .exe after "build&run" 1 Answer
How Can I Reduce Build Time for Script-Heavy Projects? 2 Answers
Player Controlled Builder 0 Answers
Player Controlled Builder 1 Answer