Last active
March 6, 2020 10:41
-
-
Save RoeiRubach/9d5b8aa4df0c0843b52782cd9a7a07d2 to your computer and use it in GitHub Desktop.
[Pragma warning disable] Disable warnings via pragma at the top of your script file. #WarningsDisable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vim: syntax=csharp | |
#pragma warning disable 0168 // variable declared but not used. | |
#pragma warning disable 0219 // variable assigned but not used. | |
#pragma warning disable 0414 // private field assigned but not used. | |
/*To ignore warnings in all files create two text files called gmcs.rsp (for editor scripts) and smcs.rsp (for game scripts) into your YOUR_PROJECT_NAME/Assets directory with contents (for example): | |
-nowarn:0414 | |
0414 is warning number*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment