title: Running script before building on Unity
body: <p>Is there a way to run a script method automatically before I build via <code>File &gt; Build Settings... &gt; Build</code>?</p>
  
  <p>I know I can make a menu item to call my method and call build afterwards.</p>