Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

Best practise for scripts that should only exist in editor

$
0
0
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.

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>