I got some scripts on gameobjects in my scene that uses executeineditmode to do stuff in edit mode. Now I don't want these to compile when I build. Is there an easy way to remove these using post processing perhaps? Currently I've used #if UNITY_EDITOR around my whole class but that gives me quite a few warnings in xcode and android log.
↧