I setup the custom define named DEMO in the player settings but I am not sure how it works.
For example:
#if DEMO
GUI.Label ( Rect ( 212, 200, 600, 50 ), "Disabled for this demo.", "menuHeadingStyle" );
#else
// otherstuff
#endif
Now how do I tell the compiler its the demo?
Ah ok now I get how it works. It would be more logic to set this in the build dialog instead of under the player settings, because I would have to go add/remove custom defines there first before building the game.
– Bluestrike