Is there a way to differ in code between development and production environment in Unity?
Currently, I would love to use it so I can change testMode variable for Ads implementation.
// I would love to have something like this:
# if DEVELOPMENT
bool testMode = true;
# elif PRODUCTION
bool testMode = false;
#endif
For example, this works.
#if UNITY_IOS
private string gameId = "1111111";
#elif UNITY_ANDROID
private string gameId = "2222222";
#endif