Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Created April 30, 2015 22:08
Show Gist options
  • Save unitycoder/d60928218a687783aab3 to your computer and use it in GitHub Desktop.
Save unitycoder/d60928218a687783aab3 to your computer and use it in GitHub Desktop.
Disable script warnings for unused variables in c#
// http://answers.unity3d.com/questions/21796/disable-warning-messages.html
#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment