- Home /
Question by
fherbst · Dec 13, 2011 at 08:39 PM ·
editorbuildeditorscript
Execute Editor method on Build
Hey all,
is there a way to call an editor method right before the scene is built? I know I could make a custom script using the BuildPipeline and build from there, but I would rather use the current build mechanism and something like OnBuild(), if it exists. Is there such method or do I have to use the Buildpipeline (which would make the standard build buttons obselete - I would like to avoid that).
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613062041im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
custom launch icon for windows 7 64bit problem 0 Answers
Default to a platform other than PC/Mac for build properties in new project 0 Answers
Global Illumination is radically different between editor and built apps 0 Answers
Is there an event triggered before editor starts rebuilding scripts? 1 Answer