|
Greetings, Is it possible to disable the yellow exclamation point warnings in the editor console? Many of my variables are not recognized as being used, they are used btw, and my Console is filling up with a ton of these warnings. I would prefer only the serious warnings appeared. Thanks
(comments are locked)
|
|
In C# you can disable them via a pragma at the top of your script file (I don't think Javascript has anything but #pragma strict). Some common ones being:
As other warnings come up you just keep adding them - I strongly suggest you take them out for the final build. :) This is just for development. awesome, thanks cyclops. Just to clarify, you suggest deleting all of the pragmas before final build? Is this to make sure you really do not have unused variables and what not? Thanks.
Jul 08 '10 at 02:21 PM
kilgore
@Andrew - correct. In fact, any time I am about to make a major check-in to Subversion (version control), I comment the lines out just to check for any problems.
Jul 08 '10 at 02:25 PM
Cyclops
thank you soooo much it got pretty annoying now when I'm rewriting my code
Mar 31 at 08:02 AM
sdgd
(comments are locked)
|
