Skip to content

Instantly share code, notes, and snippets.

@gegagome
Created November 2, 2016 06:13
Show Gist options
  • Save gegagome/72ba18af74e67560b825c04b5729aed6 to your computer and use it in GitHub Desktop.
Save gegagome/72ba18af74e67560b825c04b5729aed6 to your computer and use it in GitHub Desktop.
#define ENABLE_LOGGING
using System.Diagnostics;
public class KidpediaDebug {
[Conditional("ENABLE_LOGGING")]
public static void Log (string m) {
//UnityEngine.Debug.LogWarning(...);
}
[Conditional("ENABLE_LOGGING")]
public static void LogWarning (string m) {
//UnityEngine.Debug.LogWarning(...);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment