Activate/Deactivate script

hi,

is there a way to activate/deactivate scripts depending on if the app is running in the unity editor or when it’s builded ?

thanks,

#if UNITY_EDITOR
......
#endif

This will run only for editor in the script. Theoretically you can just disable scripts which would otherwise stay active when built.

nice thanks,

where is the doc for those kind of tags ?

nevermind, found it :slight_smile: