Hi,
I want to use #define in my scripts to show debug information;
#define isDebug
...
...
public class Example: Monobehaviour {
void Update() {
#if isDebug
//SHOW DEBUG INFORMATION
#endif
}
}
I have never used them before and the documentation seems vague. If I use it like that, how do I then turn the debug off/on.?
Kind Regards