Using custom preprocessor directive(#define)

Hi,

I want to use pre-processor directive in my game to enable/disable certain features of the game like #define IS_SINGLEPLAYER etc.Is it possible to add this to unity pre-processor define? so that i don’t end up adding the #defines to all the C# files in my project.

OS : Windows
Unity version : Unity3.1

Thanks,
Beast

No its not possible to add such defines. each define you add only holds within the script file you defined it in

Im not sure what you guys are talking about, but it sounds interesting. Do someone think they can explain the concept of defines or whatever it is you’re talking about here?