- Home /
Question by
ckfinite · Oct 14, 2010 at 08:00 PM ·
xmlbuildpipelinegeneratorparser
Run script before run
I am writing a XML parser/Code generator for Unity 3.0, and I would like it to be automatically ran whenever either the play button is pressed, and when the project is built. Is there a way to do this?
Comment
Best Answer
Answer by YetAnotherUnityQuack · Oct 14, 2010 at 08:58 PM
One idea is to create a custom editor class and add the operation as a callback function to EditorApplication.playmodeStateChanged
Good Luck!
Your answer
